Class: Increase::Models::CardPurchaseSupplement::Invoice
- Defined in:
- lib/increase/models/card_purchase_supplement.rb
Instance Attribute Summary collapse
-
#discount_amount ⇒ Integer
Discount given to cardholder.
-
#discount_currency ⇒ String
The ISO 4217 code for the discount.
-
#discount_treatment_code ⇒ Symbol
Indicates how the merchant applied the discount.
-
#duty_tax_amount ⇒ Integer
Amount of duty taxes.
-
#duty_tax_currency ⇒ String
The ISO 4217 code for the duty tax.
-
#order_date ⇒ String
Date the order was taken.
-
#shipping_amount ⇒ Integer
The shipping cost.
-
#shipping_currency ⇒ String
The ISO 4217 code for the shipping cost.
-
#shipping_destination_country_code ⇒ String
Country code of the shipping destination.
-
#shipping_destination_postal_code ⇒ String
Postal code of the shipping destination.
-
#shipping_source_postal_code ⇒ String
Postal code of the location being shipped from.
-
#shipping_tax_amount ⇒ Integer
Taxes paid for freight and shipping.
-
#shipping_tax_currency ⇒ String
The ISO 4217 code for the shipping tax.
-
#shipping_tax_rate ⇒ String
Tax rate for freight and shipping.
-
#tax_treatments ⇒ Symbol
Indicates how the merchant applied taxes.
-
#unique_value_added_tax_invoice_reference ⇒ String
Value added tax invoice reference number.
Method Summary
Methods inherited from BaseModel
Instance Attribute Details
#discount_amount ⇒ Integer
Discount given to cardholder.
40 |
# File 'lib/increase/models/card_purchase_supplement.rb', line 40 required :discount_amount, Integer |
#discount_currency ⇒ String
The ISO 4217 code for the discount.
45 |
# File 'lib/increase/models/card_purchase_supplement.rb', line 45 required :discount_currency, String |
#discount_treatment_code ⇒ Symbol
Indicates how the merchant applied the discount.
50 51 52 53 54 55 |
# File 'lib/increase/models/card_purchase_supplement.rb', line 50 required :discount_treatment_code, Increase::Enum.new( :no_invoice_level_discount_provided, :tax_calculated_on_post_discount_invoice_total, :tax_calculated_on_pre_discount_invoice_total ) |
#duty_tax_amount ⇒ Integer
Amount of duty taxes.
60 |
# File 'lib/increase/models/card_purchase_supplement.rb', line 60 required :duty_tax_amount, Integer |
#duty_tax_currency ⇒ String
The ISO 4217 code for the duty tax.
65 |
# File 'lib/increase/models/card_purchase_supplement.rb', line 65 required :duty_tax_currency, String |
#order_date ⇒ String
Date the order was taken.
70 |
# File 'lib/increase/models/card_purchase_supplement.rb', line 70 required :order_date, String |
#shipping_amount ⇒ Integer
The shipping cost.
75 |
# File 'lib/increase/models/card_purchase_supplement.rb', line 75 required :shipping_amount, Integer |
#shipping_currency ⇒ String
The ISO 4217 code for the shipping cost.
80 |
# File 'lib/increase/models/card_purchase_supplement.rb', line 80 required :shipping_currency, String |
#shipping_destination_country_code ⇒ String
Country code of the shipping destination.
85 |
# File 'lib/increase/models/card_purchase_supplement.rb', line 85 required :shipping_destination_country_code, String |
#shipping_destination_postal_code ⇒ String
Postal code of the shipping destination.
90 |
# File 'lib/increase/models/card_purchase_supplement.rb', line 90 required :shipping_destination_postal_code, String |
#shipping_source_postal_code ⇒ String
Postal code of the location being shipped from.
95 |
# File 'lib/increase/models/card_purchase_supplement.rb', line 95 required :shipping_source_postal_code, String |
#shipping_tax_amount ⇒ Integer
Taxes paid for freight and shipping.
100 |
# File 'lib/increase/models/card_purchase_supplement.rb', line 100 required :shipping_tax_amount, Integer |
#shipping_tax_currency ⇒ String
The ISO 4217 code for the shipping tax.
105 |
# File 'lib/increase/models/card_purchase_supplement.rb', line 105 required :shipping_tax_currency, String |
#shipping_tax_rate ⇒ String
Tax rate for freight and shipping.
110 |
# File 'lib/increase/models/card_purchase_supplement.rb', line 110 required :shipping_tax_rate, String |
#tax_treatments ⇒ Symbol
Indicates how the merchant applied taxes.
115 116 117 118 119 120 121 122 |
# File 'lib/increase/models/card_purchase_supplement.rb', line 115 required :tax_treatments, Increase::Enum.new( :no_tax_applies, :net_price_line_item_level, :net_price_invoice_level, :gross_price_line_item_level, :gross_price_invoice_level ) |
#unique_value_added_tax_invoice_reference ⇒ String
Value added tax invoice reference number.
127 |
# File 'lib/increase/models/card_purchase_supplement.rb', line 127 required :unique_value_added_tax_invoice_reference, String |