Class DistributionCreateParams.Payment
-
- All Implemented Interfaces:
public final class DistributionCreateParams.Payment
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classDistributionCreateParams.Payment.BuilderA builder for Payment.
public final classDistributionCreateParams.Payment.Contactpublic final classDistributionCreateParams.Payment.EntityUUID of an existing entity
-
Method Summary
Modifier and Type Method Description final Longamount()Amount in the smallest currency unit final List<DistributionCreateParams.Payment.Contact>contacts()Each contact is linked to the entity (created if provided inline) and, when notifyis true, emailed when the payment is published.final Currencycurrency()ISO 4217 currency code (USD-only currently) final DistributionCreateParams.Payment.Entityentity()UUID of an existing entity final JsonField<Long>_amount()Returns the raw JSON value of amount. final JsonField<List<DistributionCreateParams.Payment.Contact>>_contacts()Returns the raw JSON value of contacts. final JsonField<Currency>_currency()Returns the raw JSON value of currency. final JsonField<DistributionCreateParams.Payment.Entity>_entity()Returns the raw JSON value of entity. final Map<String, JsonValue>_additionalProperties()final DistributionCreateParams.Payment.BuildertoBuilder()final DistributionCreateParams.Paymentvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static DistributionCreateParams.Payment.Builderbuilder()Returns a mutable builder for constructing an instance of Payment. -
-
Method Detail
-
contacts
final List<DistributionCreateParams.Payment.Contact> contacts()
Each contact is linked to the entity (created if provided inline) and, when
notifyis true, emailed when the payment is published.
-
entity
final DistributionCreateParams.Payment.Entity entity()
UUID of an existing entity
-
_amount
final JsonField<Long> _amount()
Returns the raw JSON value of amount.
Unlike amount, this method doesn't throw if the JSON field has an unexpected type.
-
_contacts
final JsonField<List<DistributionCreateParams.Payment.Contact>> _contacts()
Returns the raw JSON value of contacts.
Unlike contacts, this method doesn't throw if the JSON field has an unexpected type.
-
_currency
final JsonField<Currency> _currency()
Returns the raw JSON value of currency.
Unlike currency, this method doesn't throw if the JSON field has an unexpected type.
-
_entity
final JsonField<DistributionCreateParams.Payment.Entity> _entity()
Returns the raw JSON value of entity.
Unlike entity, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final DistributionCreateParams.Payment.Builder toBuilder()
-
validate
final DistributionCreateParams.Payment validate()
-
builder
final static DistributionCreateParams.Payment.Builder builder()
Returns a mutable builder for constructing an instance of Payment.
The following fields are required:
.amount() .contacts() .currency() .entity()
-
-
-
-