Package com.bennyapi.models.orders
Class Item.Tender
-
- All Implemented Interfaces:
public final class Item.Tender
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classItem.Tender.BuilderA builder for Tender.
-
Method Summary
Modifier and Type Method Description final Longamount()Amount in cents. final TenderTypetender()Tender type. final JsonField<Long>_amount()Returns the raw JSON value of amount. final JsonField<TenderType>_tender()Returns the raw JSON value of tender. final Map<String, JsonValue>_additionalProperties()final Item.Tender.BuildertoBuilder()final Item.Tendervalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static Item.Tender.Builderbuilder()Returns a mutable builder for constructing an instance of Tender. -
-
Method Detail
-
tender
final TenderType tender()
Tender 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.
-
_tender
final JsonField<TenderType> _tender()
Returns the raw JSON value of tender.
Unlike tender, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final Item.Tender.Builder toBuilder()
-
validate
final Item.Tender validate()
-
builder
final static Item.Tender.Builder builder()
Returns a mutable builder for constructing an instance of Tender.
The following fields are required:
.amount() .tender()
-
-
-
-