Builder
class Builder
A builder for PaymentCreateParams.
Functions
Link copied to clipboard
fun additionalBodyProperties(additionalBodyProperties: Map<String, JsonValue>): PaymentCreateParams.Builder
Link copied to clipboard
fun additionalHeaders(additionalHeaders: Map<String, Iterable<String>>): PaymentCreateParams.Builder
Link copied to clipboard
fun additionalQueryParams(additionalQueryParams: Map<String, Iterable<String>>): PaymentCreateParams.Builder
Link copied to clipboard
Sets Builder.amount to an arbitrary JSON value.
Link copied to clipboard
Sets the entire request body.
Link copied to clipboard
Returns an immutable instance of PaymentCreateParams.
Link copied to clipboard
fun externalBankAccountToken(externalBankAccountToken: JsonField<String>): PaymentCreateParams.Builder
Sets Builder.externalBankAccountToken to an arbitrary JSON value.
Link copied to clipboard
Sets Builder.financialAccountToken to an arbitrary JSON value.
Link copied to clipboard
Sets Builder.memo to an arbitrary JSON value.
Link copied to clipboard
Sets Builder.method to an arbitrary JSON value.
Link copied to clipboard
fun methodAttributes(methodAttributes: JsonField<PaymentCreateParams.PaymentMethodRequestAttributes>): PaymentCreateParams.Builder
Sets Builder.methodAttributes to an arbitrary JSON value.
fun methodAttributes(methodAttributes: PaymentCreateParams.PaymentMethodRequestAttributes): PaymentCreateParams.Builder
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun putAllAdditionalBodyProperties(additionalBodyProperties: Map<String, JsonValue>): PaymentCreateParams.Builder
Link copied to clipboard
fun putAllAdditionalHeaders(additionalHeaders: Map<String, Iterable<String>>): PaymentCreateParams.Builder
Link copied to clipboard
fun putAllAdditionalQueryParams(additionalQueryParams: Map<String, Iterable<String>>): PaymentCreateParams.Builder
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun replaceAdditionalQueryParams(key: String, values: Iterable<String>): PaymentCreateParams.Builder
Link copied to clipboard
fun replaceAllAdditionalHeaders(additionalHeaders: Map<String, Iterable<String>>): PaymentCreateParams.Builder
Link copied to clipboard
fun replaceAllAdditionalQueryParams(additionalQueryParams: QueryParams): PaymentCreateParams.Builder
fun replaceAllAdditionalQueryParams(additionalQueryParams: Map<String, Iterable<String>>): PaymentCreateParams.Builder
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
Sets Builder.type to an arbitrary JSON value.
Link copied to clipboard
Sets Builder.userDefinedId to an arbitrary JSON value.