Class: VertexClient::Response::DistributeTax
- Inherits:
-
Base
- Object
- Base
- VertexClient::Response::DistributeTax
show all
- Defined in:
- lib/vertex_client/responses/distribute_tax.rb
Instance Method Summary
collapse
Methods inherited from Base
#initialize
Instance Method Details
#subtotal ⇒ Object
4
5
6
|
# File 'lib/vertex_client/responses/distribute_tax.rb', line 4
def subtotal
@subtotal ||= BigDecimal.new(@body[:sub_total])
end
|
#total ⇒ Object
12
13
14
|
# File 'lib/vertex_client/responses/distribute_tax.rb', line 12
def total
@total ||= BigDecimal.new(@body[:total])
end
|
#total_tax ⇒ Object
8
9
10
|
# File 'lib/vertex_client/responses/distribute_tax.rb', line 8
def total_tax
@total_tax ||= BigDecimal.new(@body[:total_tax])
end
|