Class ParticipantRecordTransactionParams
-
- All Implemented Interfaces:
-
com.growsurf.api.core.Params
public final class ParticipantRecordTransactionParams implements Params
Records a sale made by a referred customer and generates affiliate commissions for their referrer when applicable.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classParticipantRecordTransactionParams.BuilderA builder for ParticipantRecordTransactionParams.
public final classParticipantRecordTransactionParams.Bodypublic final classParticipantRecordTransactionParams.TotalTaxAmountpublic final classParticipantRecordTransactionParams.TotalTax
-
Method Summary
-
-
Method Detail
-
participantIdOrEmail
final Optional<String> participantIdOrEmail()
-
grossAmount
final Long grossAmount()
-
amountCashNet
final Optional<Long> amountCashNet()
-
amountPaid
final Optional<Long> amountPaid()
-
customerId
final Optional<String> customerId()
-
description
final Optional<String> description()
-
externalId
final Optional<String> externalId()
-
invoiceSubtotalExcludingTax
final Optional<Long> invoiceSubtotalExcludingTax()
-
invoiceTotal
final Optional<Long> invoiceTotal()
-
invoiceTotalExcludingTax
final Optional<Long> invoiceTotalExcludingTax()
-
paymentIntentId
final Optional<String> paymentIntentId()
-
subscriptionId
final Optional<String> subscriptionId()
-
totalTaxAmount
final Optional<Long> totalTaxAmount()
-
totalTaxAmounts
final Optional<List<ParticipantRecordTransactionParams.TotalTaxAmount>> totalTaxAmounts()
-
totalTaxes
final Optional<List<ParticipantRecordTransactionParams.TotalTax>> totalTaxes()
-
transactionId
final Optional<String> transactionId()
-
_currency
final JsonField<String> _currency()
Returns the raw JSON value of currency.
Unlike currency, this method doesn't throw if the JSON field has an unexpected type.
-
_grossAmount
final JsonField<Long> _grossAmount()
Returns the raw JSON value of grossAmount.
Unlike grossAmount, this method doesn't throw if the JSON field has an unexpected type.
-
_amountCashNet
final JsonField<Long> _amountCashNet()
Returns the raw JSON value of amountCashNet.
Unlike amountCashNet, this method doesn't throw if the JSON field has an unexpected type.
-
_amountPaid
final JsonField<Long> _amountPaid()
Returns the raw JSON value of amountPaid.
Unlike amountPaid, this method doesn't throw if the JSON field has an unexpected type.
-
_chargeId
final JsonField<String> _chargeId()
Returns the raw JSON value of chargeId.
Unlike chargeId, this method doesn't throw if the JSON field has an unexpected type.
-
_customerId
final JsonField<String> _customerId()
Returns the raw JSON value of customerId.
Unlike customerId, this method doesn't throw if the JSON field has an unexpected type.
-
_description
final JsonField<String> _description()
Returns the raw JSON value of description.
Unlike description, this method doesn't throw if the JSON field has an unexpected type.
-
_externalId
final JsonField<String> _externalId()
Returns the raw JSON value of externalId.
Unlike externalId, this method doesn't throw if the JSON field has an unexpected type.
-
_invoiceId
final JsonField<String> _invoiceId()
Returns the raw JSON value of invoiceId.
Unlike invoiceId, this method doesn't throw if the JSON field has an unexpected type.
-
_invoiceSubtotalExcludingTax
final JsonField<Long> _invoiceSubtotalExcludingTax()
Returns the raw JSON value of invoiceSubtotalExcludingTax.
Unlike invoiceSubtotalExcludingTax, this method doesn't throw if the JSON field has an unexpected type.
-
_invoiceTotal
final JsonField<Long> _invoiceTotal()
Returns the raw JSON value of invoiceTotal.
Unlike invoiceTotal, this method doesn't throw if the JSON field has an unexpected type.
-
_invoiceTotalExcludingTax
final JsonField<Long> _invoiceTotalExcludingTax()
Returns the raw JSON value of invoiceTotalExcludingTax.
Unlike invoiceTotalExcludingTax, this method doesn't throw if the JSON field has an unexpected type.
-
_netAmount
final JsonField<Long> _netAmount()
Returns the raw JSON value of netAmount.
Unlike netAmount, this method doesn't throw if the JSON field has an unexpected type.
-
_orderId
final JsonField<String> _orderId()
Returns the raw JSON value of orderId.
Unlike orderId, this method doesn't throw if the JSON field has an unexpected type.
-
_paidAt
final JsonField<Long> _paidAt()
Returns the raw JSON value of paidAt.
Unlike paidAt, this method doesn't throw if the JSON field has an unexpected type.
-
_paymentId
final JsonField<String> _paymentId()
Returns the raw JSON value of paymentId.
Unlike paymentId, this method doesn't throw if the JSON field has an unexpected type.
-
_paymentIntentId
final JsonField<String> _paymentIntentId()
Returns the raw JSON value of paymentIntentId.
Unlike paymentIntentId, this method doesn't throw if the JSON field has an unexpected type.
-
_subscriptionId
final JsonField<String> _subscriptionId()
Returns the raw JSON value of subscriptionId.
Unlike subscriptionId, this method doesn't throw if the JSON field has an unexpected type.
-
_taxAmount
final JsonField<Long> _taxAmount()
Returns the raw JSON value of taxAmount.
Unlike taxAmount, this method doesn't throw if the JSON field has an unexpected type.
-
_totalTaxAmount
final JsonField<Long> _totalTaxAmount()
Returns the raw JSON value of totalTaxAmount.
Unlike totalTaxAmount, this method doesn't throw if the JSON field has an unexpected type.
-
_totalTaxAmounts
final JsonField<List<ParticipantRecordTransactionParams.TotalTaxAmount>> _totalTaxAmounts()
Returns the raw JSON value of totalTaxAmounts.
Unlike totalTaxAmounts, this method doesn't throw if the JSON field has an unexpected type.
-
_totalTaxes
final JsonField<List<ParticipantRecordTransactionParams.TotalTax>> _totalTaxes()
Returns the raw JSON value of totalTaxes.
Unlike totalTaxes, this method doesn't throw if the JSON field has an unexpected type.
-
_transactionId
final JsonField<String> _transactionId()
Returns the raw JSON value of transactionId.
Unlike transactionId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
Additional headers to send with the request.
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
Additional query param to send with the request.
-
toBuilder
final ParticipantRecordTransactionParams.Builder toBuilder()
-
_body
final ParticipantRecordTransactionParams.Body _body()
-
_pathParam
final String _pathParam(Integer index)
-
_headers
Headers _headers()
The full set of headers in the parameters, including both fixed and additional headers.
-
_queryParams
QueryParams _queryParams()
The full set of query params in the parameters, including both fixed and additional query params.
-
builder
final static ParticipantRecordTransactionParams.Builder builder()
Returns a mutable builder for constructing an instance of ParticipantRecordTransactionParams.
The following fields are required:
.id() .currency() .grossAmount()
-
-
-
-