Package com.bennyapi.models.orders
Class AllocatedAmounts
-
- All Implemented Interfaces:
public final class AllocatedAmountsBreakdown of payment amounts allocated to different payment methods
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classAllocatedAmounts.BuilderA builder for AllocatedAmounts.
-
Method Summary
Modifier and Type Method Description final LongbankCardAmount()Amount allocated to bank card/credit card (in cents) final LongebtCashAmount()Amount allocated to EBT Cash benefits (in cents) final LongsnapAmount()Amount allocated to SNAP benefits (in cents) final JsonField<Long>_bankCardAmount()Returns the raw JSON value of bankCardAmount. final JsonField<Long>_ebtCashAmount()Returns the raw JSON value of ebtCashAmount. final JsonField<Long>_snapAmount()Returns the raw JSON value of snapAmount. final Map<String, JsonValue>_additionalProperties()final AllocatedAmounts.BuildertoBuilder()final AllocatedAmountsvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static AllocatedAmounts.Builderbuilder()Returns a mutable builder for constructing an instance of AllocatedAmounts. -
-
Method Detail
-
bankCardAmount
final Long bankCardAmount()
Amount allocated to bank card/credit card (in cents)
-
ebtCashAmount
final Long ebtCashAmount()
Amount allocated to EBT Cash benefits (in cents)
-
snapAmount
final Long snapAmount()
Amount allocated to SNAP benefits (in cents)
-
_bankCardAmount
final JsonField<Long> _bankCardAmount()
Returns the raw JSON value of bankCardAmount.
Unlike bankCardAmount, this method doesn't throw if the JSON field has an unexpected type.
-
_ebtCashAmount
final JsonField<Long> _ebtCashAmount()
Returns the raw JSON value of ebtCashAmount.
Unlike ebtCashAmount, this method doesn't throw if the JSON field has an unexpected type.
-
_snapAmount
final JsonField<Long> _snapAmount()
Returns the raw JSON value of snapAmount.
Unlike snapAmount, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final AllocatedAmounts.Builder toBuilder()
-
validate
final AllocatedAmounts validate()
-
builder
final static AllocatedAmounts.Builder builder()
Returns a mutable builder for constructing an instance of AllocatedAmounts.
The following fields are required:
.bankCardAmount() .ebtCashAmount() .snapAmount()
-
-
-
-