Class ParticipantRecordTransactionParams.Builder
-
- All Implemented Interfaces:
public final class ParticipantRecordTransactionParams.BuilderA builder for ParticipantRecordTransactionParams.
-
-
Method Summary
-
-
Method Detail
-
id
final ParticipantRecordTransactionParams.Builder id(String id)
-
participantIdOrEmail
final ParticipantRecordTransactionParams.Builder participantIdOrEmail(String participantIdOrEmail)
-
participantIdOrEmail
final ParticipantRecordTransactionParams.Builder participantIdOrEmail(Optional<String> participantIdOrEmail)
Alias for calling Builder.participantIdOrEmail with
participantIdOrEmail.orElse(null).
-
body
final ParticipantRecordTransactionParams.Builder body(ParticipantRecordTransactionParams.Body body)
Sets the entire request body.
This is generally only useful if you are already constructing the body separately. Otherwise, it's more convenient to use the top-level setters instead:
-
currency
final ParticipantRecordTransactionParams.Builder currency(String currency)
-
currency
final ParticipantRecordTransactionParams.Builder currency(JsonField<String> currency)
Sets Builder.currency to an arbitrary JSON value.
You should usually call Builder.currency with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
grossAmount
final ParticipantRecordTransactionParams.Builder grossAmount(Long grossAmount)
-
grossAmount
final ParticipantRecordTransactionParams.Builder grossAmount(JsonField<Long> grossAmount)
Sets Builder.grossAmount to an arbitrary JSON value.
You should usually call Builder.grossAmount with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
amountCashNet
final ParticipantRecordTransactionParams.Builder amountCashNet(Long amountCashNet)
-
amountCashNet
final ParticipantRecordTransactionParams.Builder amountCashNet(JsonField<Long> amountCashNet)
Sets Builder.amountCashNet to an arbitrary JSON value.
You should usually call Builder.amountCashNet with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
amountPaid
final ParticipantRecordTransactionParams.Builder amountPaid(Long amountPaid)
-
amountPaid
final ParticipantRecordTransactionParams.Builder amountPaid(JsonField<Long> amountPaid)
Sets Builder.amountPaid to an arbitrary JSON value.
You should usually call Builder.amountPaid with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
chargeId
final ParticipantRecordTransactionParams.Builder chargeId(String chargeId)
-
chargeId
final ParticipantRecordTransactionParams.Builder chargeId(JsonField<String> chargeId)
Sets Builder.chargeId to an arbitrary JSON value.
You should usually call Builder.chargeId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
customerId
final ParticipantRecordTransactionParams.Builder customerId(String customerId)
-
customerId
final ParticipantRecordTransactionParams.Builder customerId(JsonField<String> customerId)
Sets Builder.customerId to an arbitrary JSON value.
You should usually call Builder.customerId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
description
final ParticipantRecordTransactionParams.Builder description(String description)
-
description
final ParticipantRecordTransactionParams.Builder description(JsonField<String> description)
Sets Builder.description to an arbitrary JSON value.
You should usually call Builder.description with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
externalId
final ParticipantRecordTransactionParams.Builder externalId(String externalId)
-
externalId
final ParticipantRecordTransactionParams.Builder externalId(JsonField<String> externalId)
Sets Builder.externalId to an arbitrary JSON value.
You should usually call Builder.externalId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
invoiceId
final ParticipantRecordTransactionParams.Builder invoiceId(String invoiceId)
-
invoiceId
final ParticipantRecordTransactionParams.Builder invoiceId(JsonField<String> invoiceId)
Sets Builder.invoiceId to an arbitrary JSON value.
You should usually call Builder.invoiceId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
invoiceSubtotalExcludingTax
final ParticipantRecordTransactionParams.Builder invoiceSubtotalExcludingTax(Long invoiceSubtotalExcludingTax)
-
invoiceSubtotalExcludingTax
final ParticipantRecordTransactionParams.Builder invoiceSubtotalExcludingTax(JsonField<Long> invoiceSubtotalExcludingTax)
Sets Builder.invoiceSubtotalExcludingTax to an arbitrary JSON value.
You should usually call Builder.invoiceSubtotalExcludingTax with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
invoiceTotal
final ParticipantRecordTransactionParams.Builder invoiceTotal(Long invoiceTotal)
-
invoiceTotal
final ParticipantRecordTransactionParams.Builder invoiceTotal(JsonField<Long> invoiceTotal)
Sets Builder.invoiceTotal to an arbitrary JSON value.
You should usually call Builder.invoiceTotal with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
invoiceTotalExcludingTax
final ParticipantRecordTransactionParams.Builder invoiceTotalExcludingTax(Long invoiceTotalExcludingTax)
-
invoiceTotalExcludingTax
final ParticipantRecordTransactionParams.Builder invoiceTotalExcludingTax(JsonField<Long> invoiceTotalExcludingTax)
Sets Builder.invoiceTotalExcludingTax to an arbitrary JSON value.
You should usually call Builder.invoiceTotalExcludingTax with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
netAmount
final ParticipantRecordTransactionParams.Builder netAmount(Long netAmount)
-
netAmount
final ParticipantRecordTransactionParams.Builder netAmount(JsonField<Long> netAmount)
Sets Builder.netAmount to an arbitrary JSON value.
You should usually call Builder.netAmount with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
orderId
final ParticipantRecordTransactionParams.Builder orderId(String orderId)
-
orderId
final ParticipantRecordTransactionParams.Builder orderId(JsonField<String> orderId)
Sets Builder.orderId to an arbitrary JSON value.
You should usually call Builder.orderId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
paidAt
final ParticipantRecordTransactionParams.Builder paidAt(Long paidAt)
-
paidAt
final ParticipantRecordTransactionParams.Builder paidAt(JsonField<Long> paidAt)
Sets Builder.paidAt to an arbitrary JSON value.
You should usually call Builder.paidAt with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
paymentId
final ParticipantRecordTransactionParams.Builder paymentId(String paymentId)
-
paymentId
final ParticipantRecordTransactionParams.Builder paymentId(JsonField<String> paymentId)
Sets Builder.paymentId to an arbitrary JSON value.
You should usually call Builder.paymentId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
paymentIntentId
final ParticipantRecordTransactionParams.Builder paymentIntentId(String paymentIntentId)
-
paymentIntentId
final ParticipantRecordTransactionParams.Builder paymentIntentId(JsonField<String> paymentIntentId)
Sets Builder.paymentIntentId to an arbitrary JSON value.
You should usually call Builder.paymentIntentId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
subscriptionId
final ParticipantRecordTransactionParams.Builder subscriptionId(String subscriptionId)
-
subscriptionId
final ParticipantRecordTransactionParams.Builder subscriptionId(JsonField<String> subscriptionId)
Sets Builder.subscriptionId to an arbitrary JSON value.
You should usually call Builder.subscriptionId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
taxAmount
final ParticipantRecordTransactionParams.Builder taxAmount(Long taxAmount)
-
taxAmount
final ParticipantRecordTransactionParams.Builder taxAmount(JsonField<Long> taxAmount)
Sets Builder.taxAmount to an arbitrary JSON value.
You should usually call Builder.taxAmount with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
totalTaxAmount
final ParticipantRecordTransactionParams.Builder totalTaxAmount(Long totalTaxAmount)
-
totalTaxAmount
final ParticipantRecordTransactionParams.Builder totalTaxAmount(JsonField<Long> totalTaxAmount)
Sets Builder.totalTaxAmount to an arbitrary JSON value.
You should usually call Builder.totalTaxAmount with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
totalTaxAmounts
final ParticipantRecordTransactionParams.Builder totalTaxAmounts(List<ParticipantRecordTransactionParams.TotalTaxAmount> totalTaxAmounts)
-
totalTaxAmounts
final ParticipantRecordTransactionParams.Builder totalTaxAmounts(JsonField<List<ParticipantRecordTransactionParams.TotalTaxAmount>> totalTaxAmounts)
Sets Builder.totalTaxAmounts to an arbitrary JSON value.
You should usually call Builder.totalTaxAmounts with a well-typed
List<TotalTaxAmount>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addTotalTaxAmount
final ParticipantRecordTransactionParams.Builder addTotalTaxAmount(ParticipantRecordTransactionParams.TotalTaxAmount totalTaxAmount)
Adds a single TotalTaxAmount to totalTaxAmounts.
-
totalTaxes
final ParticipantRecordTransactionParams.Builder totalTaxes(List<ParticipantRecordTransactionParams.TotalTax> totalTaxes)
-
totalTaxes
final ParticipantRecordTransactionParams.Builder totalTaxes(JsonField<List<ParticipantRecordTransactionParams.TotalTax>> totalTaxes)
Sets Builder.totalTaxes to an arbitrary JSON value.
You should usually call Builder.totalTaxes with a well-typed
List<TotalTax>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addTotalTax
final ParticipantRecordTransactionParams.Builder addTotalTax(ParticipantRecordTransactionParams.TotalTax totalTax)
Adds a single TotalTax to totalTaxes.
-
transactionId
final ParticipantRecordTransactionParams.Builder transactionId(String transactionId)
-
transactionId
final ParticipantRecordTransactionParams.Builder transactionId(JsonField<String> transactionId)
Sets Builder.transactionId to an arbitrary JSON value.
You should usually call Builder.transactionId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalBodyProperties
final ParticipantRecordTransactionParams.Builder additionalBodyProperties(Map<String, JsonValue> additionalBodyProperties)
-
putAdditionalBodyProperty
final ParticipantRecordTransactionParams.Builder putAdditionalBodyProperty(String key, JsonValue value)
-
putAllAdditionalBodyProperties
final ParticipantRecordTransactionParams.Builder putAllAdditionalBodyProperties(Map<String, JsonValue> additionalBodyProperties)
-
removeAdditionalBodyProperty
final ParticipantRecordTransactionParams.Builder removeAdditionalBodyProperty(String key)
-
removeAllAdditionalBodyProperties
final ParticipantRecordTransactionParams.Builder removeAllAdditionalBodyProperties(Set<String> keys)
-
additionalHeaders
final ParticipantRecordTransactionParams.Builder additionalHeaders(Headers additionalHeaders)
-
additionalHeaders
final ParticipantRecordTransactionParams.Builder additionalHeaders(Map<String, Iterable<String>> additionalHeaders)
-
putAdditionalHeader
final ParticipantRecordTransactionParams.Builder putAdditionalHeader(String name, String value)
-
putAdditionalHeaders
final ParticipantRecordTransactionParams.Builder putAdditionalHeaders(String name, Iterable<String> values)
-
putAllAdditionalHeaders
final ParticipantRecordTransactionParams.Builder putAllAdditionalHeaders(Headers additionalHeaders)
-
putAllAdditionalHeaders
final ParticipantRecordTransactionParams.Builder putAllAdditionalHeaders(Map<String, Iterable<String>> additionalHeaders)
-
replaceAdditionalHeaders
final ParticipantRecordTransactionParams.Builder replaceAdditionalHeaders(String name, String value)
-
replaceAdditionalHeaders
final ParticipantRecordTransactionParams.Builder replaceAdditionalHeaders(String name, Iterable<String> values)
-
replaceAllAdditionalHeaders
final ParticipantRecordTransactionParams.Builder replaceAllAdditionalHeaders(Headers additionalHeaders)
-
replaceAllAdditionalHeaders
final ParticipantRecordTransactionParams.Builder replaceAllAdditionalHeaders(Map<String, Iterable<String>> additionalHeaders)
-
removeAdditionalHeaders
final ParticipantRecordTransactionParams.Builder removeAdditionalHeaders(String name)
-
removeAllAdditionalHeaders
final ParticipantRecordTransactionParams.Builder removeAllAdditionalHeaders(Set<String> names)
-
additionalQueryParams
final ParticipantRecordTransactionParams.Builder additionalQueryParams(QueryParams additionalQueryParams)
-
additionalQueryParams
final ParticipantRecordTransactionParams.Builder additionalQueryParams(Map<String, Iterable<String>> additionalQueryParams)
-
putAdditionalQueryParam
final ParticipantRecordTransactionParams.Builder putAdditionalQueryParam(String key, String value)
-
putAdditionalQueryParams
final ParticipantRecordTransactionParams.Builder putAdditionalQueryParams(String key, Iterable<String> values)
-
putAllAdditionalQueryParams
final ParticipantRecordTransactionParams.Builder putAllAdditionalQueryParams(QueryParams additionalQueryParams)
-
putAllAdditionalQueryParams
final ParticipantRecordTransactionParams.Builder putAllAdditionalQueryParams(Map<String, Iterable<String>> additionalQueryParams)
-
replaceAdditionalQueryParams
final ParticipantRecordTransactionParams.Builder replaceAdditionalQueryParams(String key, String value)
-
replaceAdditionalQueryParams
final ParticipantRecordTransactionParams.Builder replaceAdditionalQueryParams(String key, Iterable<String> values)
-
replaceAllAdditionalQueryParams
final ParticipantRecordTransactionParams.Builder replaceAllAdditionalQueryParams(QueryParams additionalQueryParams)
-
replaceAllAdditionalQueryParams
final ParticipantRecordTransactionParams.Builder replaceAllAdditionalQueryParams(Map<String, Iterable<String>> additionalQueryParams)
-
removeAdditionalQueryParams
final ParticipantRecordTransactionParams.Builder removeAdditionalQueryParams(String key)
-
removeAllAdditionalQueryParams
final ParticipantRecordTransactionParams.Builder removeAllAdditionalQueryParams(Set<String> keys)
-
build
final ParticipantRecordTransactionParams build()
Returns an immutable instance of ParticipantRecordTransactionParams.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .currency() .grossAmount()
-
-
-
-