Class DistributionPayment
-
- All Implemented Interfaces:
public final class DistributionPayment
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classDistributionPayment.BuilderA builder for DistributionPayment.
-
Method Summary
Modifier and Type Method Description final Stringid()UUID of the distribution payment final Longamount()Amount in the smallest currency unit final List<DistributionPaymentContact>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 Entityentity()final Optional<OffsetDateTime>recipientConfirmedAt()final DistributionPaymentStatusstatus()final Optional<OffsetDateTime>verifiedAt()final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<Long>_amount()Returns the raw JSON value of amount. final JsonField<List<DistributionPaymentContact>>_contacts()Returns the raw JSON value of contacts. final JsonField<Currency>_currency()Returns the raw JSON value of currency. final JsonField<Entity>_entity()Returns the raw JSON value of entity. final JsonField<OffsetDateTime>_recipientConfirmedAt()Returns the raw JSON value of recipientConfirmedAt. final JsonField<DistributionPaymentStatus>_status()Returns the raw JSON value of status. final JsonField<OffsetDateTime>_verifiedAt()Returns the raw JSON value of verifiedAt. final Map<String, JsonValue>_additionalProperties()final DistributionPayment.BuildertoBuilder()final DistributionPaymentvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static DistributionPayment.Builderbuilder()Returns a mutable builder for constructing an instance of DistributionPayment. -
-
Method Detail
-
contacts
final List<DistributionPaymentContact> contacts()
Each contact is linked to the entity (created if provided inline) and, when
notifyis true, emailed when the payment is published.
-
recipientConfirmedAt
final Optional<OffsetDateTime> recipientConfirmedAt()
-
status
final DistributionPaymentStatus status()
-
verifiedAt
final Optional<OffsetDateTime> verifiedAt()
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_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<DistributionPaymentContact>> _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<Entity> _entity()
Returns the raw JSON value of entity.
Unlike entity, this method doesn't throw if the JSON field has an unexpected type.
-
_recipientConfirmedAt
final JsonField<OffsetDateTime> _recipientConfirmedAt()
Returns the raw JSON value of recipientConfirmedAt.
Unlike recipientConfirmedAt, this method doesn't throw if the JSON field has an unexpected type.
-
_status
final JsonField<DistributionPaymentStatus> _status()
Returns the raw JSON value of status.
Unlike status, this method doesn't throw if the JSON field has an unexpected type.
-
_verifiedAt
final JsonField<OffsetDateTime> _verifiedAt()
Returns the raw JSON value of verifiedAt.
Unlike verifiedAt, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final DistributionPayment.Builder toBuilder()
-
validate
final DistributionPayment validate()
-
builder
final static DistributionPayment.Builder builder()
Returns a mutable builder for constructing an instance of DistributionPayment.
The following fields are required:
.id() .amount() .contacts() .currency() .entity() .recipientConfirmedAt() .status() .verifiedAt()
-
-
-
-