Builder
class Builder
A builder for CreatePaymentRequest.
Functions
Link copied to clipboard
fun additionalProperties(additionalProperties: Map<String, JsonValue>): PaymentCreateParams.CreatePaymentRequest.Builder
Link copied to clipboard
Sets Builder.amount to an arbitrary JSON value.
Link copied to clipboard
Returns an immutable instance of CreatePaymentRequest.
Link copied to clipboard
fun externalBankAccountToken(externalBankAccountToken: JsonField<String>): PaymentCreateParams.CreatePaymentRequest.Builder
Sets Builder.externalBankAccountToken to an arbitrary JSON value.
fun externalBankAccountToken(externalBankAccountToken: String): PaymentCreateParams.CreatePaymentRequest.Builder
Link copied to clipboard
fun financialAccountToken(financialAccountToken: JsonField<String>): PaymentCreateParams.CreatePaymentRequest.Builder
Sets Builder.financialAccountToken to an arbitrary JSON value.
fun financialAccountToken(financialAccountToken: String): PaymentCreateParams.CreatePaymentRequest.Builder
Link copied to clipboard
Sets Builder.memo to an arbitrary JSON value.
Link copied to clipboard
fun method(method: JsonField<PaymentCreateParams.Method>): PaymentCreateParams.CreatePaymentRequest.Builder
Sets Builder.method to an arbitrary JSON value.
Link copied to clipboard
fun methodAttributes(methodAttributes: JsonField<PaymentCreateParams.PaymentMethodRequestAttributes>): PaymentCreateParams.CreatePaymentRequest.Builder
Sets Builder.methodAttributes to an arbitrary JSON value.
Link copied to clipboard
fun putAdditionalProperty(key: String, value: JsonValue): PaymentCreateParams.CreatePaymentRequest.Builder
Link copied to clipboard
fun putAllAdditionalProperties(additionalProperties: Map<String, JsonValue>): PaymentCreateParams.CreatePaymentRequest.Builder
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Sets Builder.token to an arbitrary JSON value.
Customer-provided token that will serve as an idempotency token. This token will become the transaction token.
Link copied to clipboard
fun type(type: JsonField<PaymentCreateParams.Type>): PaymentCreateParams.CreatePaymentRequest.Builder
Sets Builder.type to an arbitrary JSON value.
Link copied to clipboard
fun userDefinedId(userDefinedId: JsonField<String>): PaymentCreateParams.CreatePaymentRequest.Builder
Sets Builder.userDefinedId to an arbitrary JSON value.