Class CardPurchaseSupplement.Invoice.Builder
-
- All Implemented Interfaces:
public final class CardPurchaseSupplement.Invoice.BuilderA builder for Invoice.
-
-
Method Summary
-
-
Method Detail
-
discountAmount
final CardPurchaseSupplement.Invoice.Builder discountAmount(Long discountAmount)
Discount given to cardholder.
-
discountAmount
final CardPurchaseSupplement.Invoice.Builder discountAmount(Long discountAmount)
Discount given to cardholder.
-
discountAmount
final CardPurchaseSupplement.Invoice.Builder discountAmount(Optional<Long> discountAmount)
Discount given to cardholder.
-
discountAmount
final CardPurchaseSupplement.Invoice.Builder discountAmount(JsonField<Long> discountAmount)
Discount given to cardholder.
-
discountCurrency
final CardPurchaseSupplement.Invoice.Builder discountCurrency(String discountCurrency)
The ISO 4217 code for the discount.
-
discountCurrency
final CardPurchaseSupplement.Invoice.Builder discountCurrency(Optional<String> discountCurrency)
The ISO 4217 code for the discount.
-
discountCurrency
final CardPurchaseSupplement.Invoice.Builder discountCurrency(JsonField<String> discountCurrency)
The ISO 4217 code for the discount.
-
discountTreatmentCode
final CardPurchaseSupplement.Invoice.Builder discountTreatmentCode(CardPurchaseSupplement.Invoice.DiscountTreatmentCode discountTreatmentCode)
Indicates how the merchant applied the discount.
-
discountTreatmentCode
final CardPurchaseSupplement.Invoice.Builder discountTreatmentCode(Optional<CardPurchaseSupplement.Invoice.DiscountTreatmentCode> discountTreatmentCode)
Indicates how the merchant applied the discount.
-
discountTreatmentCode
final CardPurchaseSupplement.Invoice.Builder discountTreatmentCode(JsonField<CardPurchaseSupplement.Invoice.DiscountTreatmentCode> discountTreatmentCode)
Indicates how the merchant applied the discount.
-
dutyTaxAmount
final CardPurchaseSupplement.Invoice.Builder dutyTaxAmount(Long dutyTaxAmount)
Amount of duty taxes.
-
dutyTaxAmount
final CardPurchaseSupplement.Invoice.Builder dutyTaxAmount(Long dutyTaxAmount)
Amount of duty taxes.
-
dutyTaxAmount
final CardPurchaseSupplement.Invoice.Builder dutyTaxAmount(Optional<Long> dutyTaxAmount)
Amount of duty taxes.
-
dutyTaxAmount
final CardPurchaseSupplement.Invoice.Builder dutyTaxAmount(JsonField<Long> dutyTaxAmount)
Amount of duty taxes.
-
dutyTaxCurrency
final CardPurchaseSupplement.Invoice.Builder dutyTaxCurrency(String dutyTaxCurrency)
The ISO 4217 code for the duty tax.
-
dutyTaxCurrency
final CardPurchaseSupplement.Invoice.Builder dutyTaxCurrency(Optional<String> dutyTaxCurrency)
The ISO 4217 code for the duty tax.
-
dutyTaxCurrency
final CardPurchaseSupplement.Invoice.Builder dutyTaxCurrency(JsonField<String> dutyTaxCurrency)
The ISO 4217 code for the duty tax.
-
orderDate
final CardPurchaseSupplement.Invoice.Builder orderDate(LocalDate orderDate)
Date the order was taken.
-
orderDate
final CardPurchaseSupplement.Invoice.Builder orderDate(Optional<LocalDate> orderDate)
Date the order was taken.
-
orderDate
final CardPurchaseSupplement.Invoice.Builder orderDate(JsonField<LocalDate> orderDate)
Date the order was taken.
-
shippingAmount
final CardPurchaseSupplement.Invoice.Builder shippingAmount(Long shippingAmount)
The shipping cost.
-
shippingAmount
final CardPurchaseSupplement.Invoice.Builder shippingAmount(Long shippingAmount)
The shipping cost.
-
shippingAmount
final CardPurchaseSupplement.Invoice.Builder shippingAmount(Optional<Long> shippingAmount)
The shipping cost.
-
shippingAmount
final CardPurchaseSupplement.Invoice.Builder shippingAmount(JsonField<Long> shippingAmount)
The shipping cost.
-
shippingCurrency
final CardPurchaseSupplement.Invoice.Builder shippingCurrency(String shippingCurrency)
The ISO 4217 code for the shipping cost.
-
shippingCurrency
final CardPurchaseSupplement.Invoice.Builder shippingCurrency(Optional<String> shippingCurrency)
The ISO 4217 code for the shipping cost.
-
shippingCurrency
final CardPurchaseSupplement.Invoice.Builder shippingCurrency(JsonField<String> shippingCurrency)
The ISO 4217 code for the shipping cost.
-
shippingDestinationCountryCode
final CardPurchaseSupplement.Invoice.Builder shippingDestinationCountryCode(String shippingDestinationCountryCode)
Country code of the shipping destination.
-
shippingDestinationCountryCode
final CardPurchaseSupplement.Invoice.Builder shippingDestinationCountryCode(Optional<String> shippingDestinationCountryCode)
Country code of the shipping destination.
-
shippingDestinationCountryCode
final CardPurchaseSupplement.Invoice.Builder shippingDestinationCountryCode(JsonField<String> shippingDestinationCountryCode)
Country code of the shipping destination.
-
shippingDestinationPostalCode
final CardPurchaseSupplement.Invoice.Builder shippingDestinationPostalCode(String shippingDestinationPostalCode)
Postal code of the shipping destination.
-
shippingDestinationPostalCode
final CardPurchaseSupplement.Invoice.Builder shippingDestinationPostalCode(Optional<String> shippingDestinationPostalCode)
Postal code of the shipping destination.
-
shippingDestinationPostalCode
final CardPurchaseSupplement.Invoice.Builder shippingDestinationPostalCode(JsonField<String> shippingDestinationPostalCode)
Postal code of the shipping destination.
-
shippingSourcePostalCode
final CardPurchaseSupplement.Invoice.Builder shippingSourcePostalCode(String shippingSourcePostalCode)
Postal code of the location being shipped from.
-
shippingSourcePostalCode
final CardPurchaseSupplement.Invoice.Builder shippingSourcePostalCode(Optional<String> shippingSourcePostalCode)
Postal code of the location being shipped from.
-
shippingSourcePostalCode
final CardPurchaseSupplement.Invoice.Builder shippingSourcePostalCode(JsonField<String> shippingSourcePostalCode)
Postal code of the location being shipped from.
-
shippingTaxAmount
final CardPurchaseSupplement.Invoice.Builder shippingTaxAmount(Long shippingTaxAmount)
Taxes paid for freight and shipping.
-
shippingTaxAmount
final CardPurchaseSupplement.Invoice.Builder shippingTaxAmount(Long shippingTaxAmount)
Taxes paid for freight and shipping.
-
shippingTaxAmount
final CardPurchaseSupplement.Invoice.Builder shippingTaxAmount(Optional<Long> shippingTaxAmount)
Taxes paid for freight and shipping.
-
shippingTaxAmount
final CardPurchaseSupplement.Invoice.Builder shippingTaxAmount(JsonField<Long> shippingTaxAmount)
Taxes paid for freight and shipping.
-
shippingTaxCurrency
final CardPurchaseSupplement.Invoice.Builder shippingTaxCurrency(String shippingTaxCurrency)
The ISO 4217 code for the shipping tax.
-
shippingTaxCurrency
final CardPurchaseSupplement.Invoice.Builder shippingTaxCurrency(Optional<String> shippingTaxCurrency)
The ISO 4217 code for the shipping tax.
-
shippingTaxCurrency
final CardPurchaseSupplement.Invoice.Builder shippingTaxCurrency(JsonField<String> shippingTaxCurrency)
The ISO 4217 code for the shipping tax.
-
shippingTaxRate
final CardPurchaseSupplement.Invoice.Builder shippingTaxRate(String shippingTaxRate)
Tax rate for freight and shipping.
-
shippingTaxRate
final CardPurchaseSupplement.Invoice.Builder shippingTaxRate(Optional<String> shippingTaxRate)
Tax rate for freight and shipping.
-
shippingTaxRate
final CardPurchaseSupplement.Invoice.Builder shippingTaxRate(JsonField<String> shippingTaxRate)
Tax rate for freight and shipping.
-
taxTreatments
final CardPurchaseSupplement.Invoice.Builder taxTreatments(CardPurchaseSupplement.Invoice.TaxTreatments taxTreatments)
Indicates how the merchant applied taxes.
-
taxTreatments
final CardPurchaseSupplement.Invoice.Builder taxTreatments(Optional<CardPurchaseSupplement.Invoice.TaxTreatments> taxTreatments)
Indicates how the merchant applied taxes.
-
taxTreatments
final CardPurchaseSupplement.Invoice.Builder taxTreatments(JsonField<CardPurchaseSupplement.Invoice.TaxTreatments> taxTreatments)
Indicates how the merchant applied taxes.
-
uniqueValueAddedTaxInvoiceReference
final CardPurchaseSupplement.Invoice.Builder uniqueValueAddedTaxInvoiceReference(String uniqueValueAddedTaxInvoiceReference)
Value added tax invoice reference number.
-
uniqueValueAddedTaxInvoiceReference
final CardPurchaseSupplement.Invoice.Builder uniqueValueAddedTaxInvoiceReference(Optional<String> uniqueValueAddedTaxInvoiceReference)
Value added tax invoice reference number.
-
uniqueValueAddedTaxInvoiceReference
final CardPurchaseSupplement.Invoice.Builder uniqueValueAddedTaxInvoiceReference(JsonField<String> uniqueValueAddedTaxInvoiceReference)
Value added tax invoice reference number.
-
additionalProperties
final CardPurchaseSupplement.Invoice.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final CardPurchaseSupplement.Invoice.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final CardPurchaseSupplement.Invoice.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final CardPurchaseSupplement.Invoice.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final CardPurchaseSupplement.Invoice.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final CardPurchaseSupplement.Invoice build()
-
-
-
-