flowcommerce 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/flow_commerce/flow_api_v0_client.rb +11 -8
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bebd37721322b3f42959e3640ced298e655ec0da
|
|
4
|
+
data.tar.gz: f0850eabc1f615e84a2e75aede53427518830f6b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 897ad1cd22ba9666298b402b37daf834d9cbbedb8a686acdd37df83ef26317391b13b703583c004c4969a15a3957813ade6996a446d82b564cc84345ea1a60ff
|
|
7
|
+
data.tar.gz: e8a5b2ed85dfd1dbc559a5c5f0f86d208a7029238386a9ddcb3d2a5bae1843976b3ac5552baafede6c60493e78433b12785177fd7d6a921f8bfc570d4e3a7f30
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Generated by apidoc - http://www.apidoc.me
|
|
2
2
|
# Service version: 0.1.77
|
|
3
|
-
# apidoc:0.11.49 http://www.apidoc.me/flow/api/0.2.
|
|
3
|
+
# apidoc:0.11.49 http://www.apidoc.me/flow/api/0.2.10/ruby_client
|
|
4
4
|
|
|
5
5
|
require 'cgi'
|
|
6
6
|
require 'net/http'
|
|
@@ -25,7 +25,7 @@ module Io
|
|
|
25
25
|
|
|
26
26
|
BASE_URL = 'https://api.flow.io' unless defined?(Constants::BASE_URL)
|
|
27
27
|
NAMESPACE = 'io.flow.v0' unless defined?(Constants::NAMESPACE)
|
|
28
|
-
USER_AGENT = 'apidoc:0.11.49 http://www.apidoc.me/flow/api/0.2.
|
|
28
|
+
USER_AGENT = 'apidoc:0.11.49 http://www.apidoc.me/flow/api/0.2.10/ruby_client' unless defined?(Constants::USER_AGENT)
|
|
29
29
|
VERSION = '0.1.77' unless defined?(Constants::VERSION)
|
|
30
30
|
VERSION_MAJOR = 0 unless defined?(VERSION_MAJOR)
|
|
31
31
|
|
|
@@ -3896,6 +3896,9 @@ module Io
|
|
|
3896
3896
|
|
|
3897
3897
|
end
|
|
3898
3898
|
|
|
3899
|
+
# De Minimis describes the country specific rules for exactly how tax and duties
|
|
3900
|
+
# are calculated, as well as any exemptions that apply. See
|
|
3901
|
+
# https://en.wikipedia.org/wiki/De_minimis for more information.
|
|
3899
3902
|
class Deminimis
|
|
3900
3903
|
|
|
3901
3904
|
module Types
|
|
@@ -5002,13 +5005,13 @@ module Io
|
|
|
5002
5005
|
@@all ||= [AdjustmentReasonKey.duty_deminimis, AdjustmentReasonKey.tax_deminimis]
|
|
5003
5006
|
end
|
|
5004
5007
|
|
|
5005
|
-
# If the duty
|
|
5008
|
+
# If the duty de minimis value has not been met, an adjustment may be made to
|
|
5006
5009
|
# offset any previously calculated duty.
|
|
5007
5010
|
def AdjustmentReasonKey.duty_deminimis
|
|
5008
5011
|
@@_duty_deminimis ||= AdjustmentReasonKey.new('duty_deminimis')
|
|
5009
5012
|
end
|
|
5010
5013
|
|
|
5011
|
-
# If the tax
|
|
5014
|
+
# If the tax de minimis value has not been met, an adjustment may be made to
|
|
5012
5015
|
# offset any previously calculated tax.
|
|
5013
5016
|
def AdjustmentReasonKey.tax_deminimis
|
|
5014
5017
|
@@_tax_deminimis ||= AdjustmentReasonKey.new('tax_deminimis')
|
|
@@ -6323,12 +6326,12 @@ module Io
|
|
|
6323
6326
|
@@_adjustment ||= OrderPriceDetailComponentKey.new('adjustment')
|
|
6324
6327
|
end
|
|
6325
6328
|
|
|
6326
|
-
# An adjustment based on whether the tax
|
|
6329
|
+
# An adjustment based on whether the tax de minimis applies to the order.
|
|
6327
6330
|
def OrderPriceDetailComponentKey.tax_deminimis
|
|
6328
6331
|
@@_tax_deminimis ||= OrderPriceDetailComponentKey.new('tax_deminimis')
|
|
6329
6332
|
end
|
|
6330
6333
|
|
|
6331
|
-
# An adjustment based on whether the duty
|
|
6334
|
+
# An adjustment based on whether the duty de minimis applies to the order.
|
|
6332
6335
|
def OrderPriceDetailComponentKey.duty_deminimis
|
|
6333
6336
|
@@_duty_deminimis ||= OrderPriceDetailComponentKey.new('duty_deminimis')
|
|
6334
6337
|
end
|
|
@@ -6554,7 +6557,7 @@ module Io
|
|
|
6554
6557
|
@@_duties_rounding ||= PriceDetailComponentKey.new('duties_rounding')
|
|
6555
6558
|
end
|
|
6556
6559
|
|
|
6557
|
-
# An adjustment made if the item does not meet the duty
|
|
6560
|
+
# An adjustment made if the item does not meet the duty de minimis rule.
|
|
6558
6561
|
def PriceDetailComponentKey.duties_deminimis
|
|
6559
6562
|
@@_duties_deminimis ||= PriceDetailComponentKey.new('duties_deminimis')
|
|
6560
6563
|
end
|
|
@@ -6591,7 +6594,7 @@ module Io
|
|
|
6591
6594
|
@@_vat_duties_rounding ||= PriceDetailComponentKey.new('vat_duties_rounding')
|
|
6592
6595
|
end
|
|
6593
6596
|
|
|
6594
|
-
# An adjustment made if the item does not meet the VAT
|
|
6597
|
+
# An adjustment made if the item does not meet the VAT de minimis rule.
|
|
6595
6598
|
def PriceDetailComponentKey.vat_deminimis
|
|
6596
6599
|
@@_vat_deminimis ||= PriceDetailComponentKey.new('vat_deminimis')
|
|
6597
6600
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: flowcommerce
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Flow Commerce, Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-10-
|
|
11
|
+
date: 2016-10-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: json
|