Class CardPurchaseSupplement.Invoice
-
- All Implemented Interfaces:
public final class CardPurchaseSupplement.InvoiceInvoice-level information about the payment.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classCardPurchaseSupplement.Invoice.BuilderA builder for Invoice.
public final classCardPurchaseSupplement.Invoice.DiscountTreatmentCodeIndicates how the merchant applied the discount.
public final classCardPurchaseSupplement.Invoice.TaxTreatmentsIndicates how the merchant applied taxes.
-
Method Summary
Modifier and Type Method Description final Optional<Long>discountAmount()Discount given to cardholder. final Optional<String>discountCurrency()The ISO 4217 code for the discount. final Optional<CardPurchaseSupplement.Invoice.DiscountTreatmentCode>discountTreatmentCode()Indicates how the merchant applied the discount. final Optional<Long>dutyTaxAmount()Amount of duty taxes. final Optional<String>dutyTaxCurrency()The ISO 4217 code for the duty tax. final Optional<LocalDate>orderDate()Date the order was taken. final Optional<Long>shippingAmount()The shipping cost. final Optional<String>shippingCurrency()The ISO 4217 code for the shipping cost. final Optional<String>shippingDestinationCountryCode()Country code of the shipping destination. final Optional<String>shippingDestinationPostalCode()Postal code of the shipping destination. final Optional<String>shippingSourcePostalCode()Postal code of the location being shipped from. final Optional<Long>shippingTaxAmount()Taxes paid for freight and shipping. final Optional<String>shippingTaxCurrency()The ISO 4217 code for the shipping tax. final Optional<String>shippingTaxRate()Tax rate for freight and shipping. final Optional<CardPurchaseSupplement.Invoice.TaxTreatments>taxTreatments()Indicates how the merchant applied taxes. final Optional<String>uniqueValueAddedTaxInvoiceReference()Value added tax invoice reference number. final JsonField<Long>_discountAmount()Discount given to cardholder. final JsonField<String>_discountCurrency()The ISO 4217 code for the discount. final JsonField<CardPurchaseSupplement.Invoice.DiscountTreatmentCode>_discountTreatmentCode()Indicates how the merchant applied the discount. final JsonField<Long>_dutyTaxAmount()Amount of duty taxes. final JsonField<String>_dutyTaxCurrency()The ISO 4217 code for the duty tax. final JsonField<LocalDate>_orderDate()Date the order was taken. final JsonField<Long>_shippingAmount()The shipping cost. final JsonField<String>_shippingCurrency()The ISO 4217 code for the shipping cost. final JsonField<String>_shippingDestinationCountryCode()Country code of the shipping destination. final JsonField<String>_shippingDestinationPostalCode()Postal code of the shipping destination. final JsonField<String>_shippingSourcePostalCode()Postal code of the location being shipped from. final JsonField<Long>_shippingTaxAmount()Taxes paid for freight and shipping. final JsonField<String>_shippingTaxCurrency()The ISO 4217 code for the shipping tax. final JsonField<String>_shippingTaxRate()Tax rate for freight and shipping. final JsonField<CardPurchaseSupplement.Invoice.TaxTreatments>_taxTreatments()Indicates how the merchant applied taxes. final JsonField<String>_uniqueValueAddedTaxInvoiceReference()Value added tax invoice reference number. final Map<String, JsonValue>_additionalProperties()final CardPurchaseSupplement.Invoicevalidate()final CardPurchaseSupplement.Invoice.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static CardPurchaseSupplement.Invoice.Builderbuilder()-
-
Method Detail
-
discountAmount
final Optional<Long> discountAmount()
Discount given to cardholder.
-
discountCurrency
final Optional<String> discountCurrency()
The ISO 4217 code for the discount.
-
discountTreatmentCode
final Optional<CardPurchaseSupplement.Invoice.DiscountTreatmentCode> discountTreatmentCode()
Indicates how the merchant applied the discount.
-
dutyTaxAmount
final Optional<Long> dutyTaxAmount()
Amount of duty taxes.
-
dutyTaxCurrency
final Optional<String> dutyTaxCurrency()
The ISO 4217 code for the duty tax.
-
shippingAmount
final Optional<Long> shippingAmount()
The shipping cost.
-
shippingCurrency
final Optional<String> shippingCurrency()
The ISO 4217 code for the shipping cost.
-
shippingDestinationCountryCode
final Optional<String> shippingDestinationCountryCode()
Country code of the shipping destination.
-
shippingDestinationPostalCode
final Optional<String> shippingDestinationPostalCode()
Postal code of the shipping destination.
-
shippingSourcePostalCode
final Optional<String> shippingSourcePostalCode()
Postal code of the location being shipped from.
-
shippingTaxAmount
final Optional<Long> shippingTaxAmount()
Taxes paid for freight and shipping.
-
shippingTaxCurrency
final Optional<String> shippingTaxCurrency()
The ISO 4217 code for the shipping tax.
-
shippingTaxRate
final Optional<String> shippingTaxRate()
Tax rate for freight and shipping.
-
taxTreatments
final Optional<CardPurchaseSupplement.Invoice.TaxTreatments> taxTreatments()
Indicates how the merchant applied taxes.
-
uniqueValueAddedTaxInvoiceReference
final Optional<String> uniqueValueAddedTaxInvoiceReference()
Value added tax invoice reference number.
-
_discountAmount
final JsonField<Long> _discountAmount()
Discount given to cardholder.
-
_discountCurrency
final JsonField<String> _discountCurrency()
The ISO 4217 code for the discount.
-
_discountTreatmentCode
final JsonField<CardPurchaseSupplement.Invoice.DiscountTreatmentCode> _discountTreatmentCode()
Indicates how the merchant applied the discount.
-
_dutyTaxAmount
final JsonField<Long> _dutyTaxAmount()
Amount of duty taxes.
-
_dutyTaxCurrency
final JsonField<String> _dutyTaxCurrency()
The ISO 4217 code for the duty tax.
-
_orderDate
final JsonField<LocalDate> _orderDate()
Date the order was taken.
-
_shippingAmount
final JsonField<Long> _shippingAmount()
The shipping cost.
-
_shippingCurrency
final JsonField<String> _shippingCurrency()
The ISO 4217 code for the shipping cost.
-
_shippingDestinationCountryCode
final JsonField<String> _shippingDestinationCountryCode()
Country code of the shipping destination.
-
_shippingDestinationPostalCode
final JsonField<String> _shippingDestinationPostalCode()
Postal code of the shipping destination.
-
_shippingSourcePostalCode
final JsonField<String> _shippingSourcePostalCode()
Postal code of the location being shipped from.
-
_shippingTaxAmount
final JsonField<Long> _shippingTaxAmount()
Taxes paid for freight and shipping.
-
_shippingTaxCurrency
final JsonField<String> _shippingTaxCurrency()
The ISO 4217 code for the shipping tax.
-
_shippingTaxRate
final JsonField<String> _shippingTaxRate()
Tax rate for freight and shipping.
-
_taxTreatments
final JsonField<CardPurchaseSupplement.Invoice.TaxTreatments> _taxTreatments()
Indicates how the merchant applied taxes.
-
_uniqueValueAddedTaxInvoiceReference
final JsonField<String> _uniqueValueAddedTaxInvoiceReference()
Value added tax invoice reference number.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final CardPurchaseSupplement.Invoice validate()
-
toBuilder
final CardPurchaseSupplement.Invoice.Builder toBuilder()
-
builder
final static CardPurchaseSupplement.Invoice.Builder builder()
-
-
-
-