Class ParticipantRecordTransactionParams.Body.Builder
-
- All Implemented Interfaces:
public final class ParticipantRecordTransactionParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
currency
final ParticipantRecordTransactionParams.Body.Builder currency(String currency)
-
currency
final ParticipantRecordTransactionParams.Body.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.Body.Builder grossAmount(Long grossAmount)
-
grossAmount
final ParticipantRecordTransactionParams.Body.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.Body.Builder amountCashNet(Long amountCashNet)
-
amountCashNet
final ParticipantRecordTransactionParams.Body.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.Body.Builder amountPaid(Long amountPaid)
-
amountPaid
final ParticipantRecordTransactionParams.Body.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.Body.Builder chargeId(String chargeId)
-
chargeId
final ParticipantRecordTransactionParams.Body.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.Body.Builder customerId(String customerId)
-
customerId
final ParticipantRecordTransactionParams.Body.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.Body.Builder description(String description)
-
description
final ParticipantRecordTransactionParams.Body.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.Body.Builder externalId(String externalId)
-
externalId
final ParticipantRecordTransactionParams.Body.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.Body.Builder invoiceId(String invoiceId)
-
invoiceId
final ParticipantRecordTransactionParams.Body.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.Body.Builder invoiceSubtotalExcludingTax(Long invoiceSubtotalExcludingTax)
-
invoiceSubtotalExcludingTax
final ParticipantRecordTransactionParams.Body.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.Body.Builder invoiceTotal(Long invoiceTotal)
-
invoiceTotal
final ParticipantRecordTransactionParams.Body.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.Body.Builder invoiceTotalExcludingTax(Long invoiceTotalExcludingTax)
-
invoiceTotalExcludingTax
final ParticipantRecordTransactionParams.Body.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.Body.Builder netAmount(Long netAmount)
-
netAmount
final ParticipantRecordTransactionParams.Body.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.Body.Builder orderId(String orderId)
-
orderId
final ParticipantRecordTransactionParams.Body.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.Body.Builder paidAt(Long paidAt)
-
paidAt
final ParticipantRecordTransactionParams.Body.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.Body.Builder paymentId(String paymentId)
-
paymentId
final ParticipantRecordTransactionParams.Body.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.Body.Builder paymentIntentId(String paymentIntentId)
-
paymentIntentId
final ParticipantRecordTransactionParams.Body.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.Body.Builder subscriptionId(String subscriptionId)
-
subscriptionId
final ParticipantRecordTransactionParams.Body.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.Body.Builder taxAmount(Long taxAmount)
-
taxAmount
final ParticipantRecordTransactionParams.Body.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.Body.Builder totalTaxAmount(Long totalTaxAmount)
-
totalTaxAmount
final ParticipantRecordTransactionParams.Body.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.Body.Builder totalTaxAmounts(List<ParticipantRecordTransactionParams.TotalTaxAmount> totalTaxAmounts)
-
totalTaxAmounts
final ParticipantRecordTransactionParams.Body.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.Body.Builder addTotalTaxAmount(ParticipantRecordTransactionParams.TotalTaxAmount totalTaxAmount)
Adds a single TotalTaxAmount to totalTaxAmounts.
-
totalTaxes
final ParticipantRecordTransactionParams.Body.Builder totalTaxes(List<ParticipantRecordTransactionParams.TotalTax> totalTaxes)
-
totalTaxes
final ParticipantRecordTransactionParams.Body.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.Body.Builder addTotalTax(ParticipantRecordTransactionParams.TotalTax totalTax)
Adds a single TotalTax to totalTaxes.
-
transactionId
final ParticipantRecordTransactionParams.Body.Builder transactionId(String transactionId)
-
transactionId
final ParticipantRecordTransactionParams.Body.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.
-
additionalProperties
final ParticipantRecordTransactionParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ParticipantRecordTransactionParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ParticipantRecordTransactionParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ParticipantRecordTransactionParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ParticipantRecordTransactionParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ParticipantRecordTransactionParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.currency() .grossAmount()
-
-
-
-