flowcommerce 0.0.81 → 0.0.82
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 +52 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bf2343f91dfda8224a5500465347386eb4e09d7d
|
|
4
|
+
data.tar.gz: a09b216f966c3f9cc63f198f60fa677d60b3d2f1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b5d98730a374c2805f8af3ab17b49ded17f5070ea739a763bb76227ae98d9e6cbb2b0c01d5548a4ccf6820ccca841df742fc6d7315c97d2469ed6093a19ddc0c
|
|
7
|
+
data.tar.gz: ba04f052ccdd918c1b418feddaf5f7e2b007f1ce7ed0b22c3161958cd2d3319ffc40b77078b59e95bc7e3e0bfb40c041d08985e68af7fd1709c6940607bf0337
|
|
@@ -3889,6 +3889,10 @@ module Io
|
|
|
3889
3889
|
@name = HttpClient::Preconditions.assert_class('name', opts.delete(:name), String)
|
|
3890
3890
|
end
|
|
3891
3891
|
|
|
3892
|
+
def subtype_to_hash
|
|
3893
|
+
raise 'Cannot serialize an instance of authorization_form directly - must use one of the specific types: direct_authorization_form, merchant_of_record_authorization_form'
|
|
3894
|
+
end
|
|
3895
|
+
|
|
3892
3896
|
def to_hash
|
|
3893
3897
|
subtype_to_hash.merge(:discriminator => @name)
|
|
3894
3898
|
end
|
|
@@ -3944,6 +3948,10 @@ module Io
|
|
|
3944
3948
|
@name = HttpClient::Preconditions.assert_class('name', opts.delete(:name), String)
|
|
3945
3949
|
end
|
|
3946
3950
|
|
|
3951
|
+
def subtype_to_hash
|
|
3952
|
+
raise 'Cannot serialize an instance of deminimus directly - must use one of the specific types: deminimus_simple'
|
|
3953
|
+
end
|
|
3954
|
+
|
|
3947
3955
|
def to_hash
|
|
3948
3956
|
subtype_to_hash.merge(:discriminator => @name)
|
|
3949
3957
|
end
|
|
@@ -3999,6 +4007,10 @@ module Io
|
|
|
3999
4007
|
@name = HttpClient::Preconditions.assert_class('name', opts.delete(:name), String)
|
|
4000
4008
|
end
|
|
4001
4009
|
|
|
4010
|
+
def subtype_to_hash
|
|
4011
|
+
raise 'Cannot serialize an instance of document directly - must use one of the specific types: catalog_item_document, harmonization_document'
|
|
4012
|
+
end
|
|
4013
|
+
|
|
4002
4014
|
def to_hash
|
|
4003
4015
|
subtype_to_hash.merge(:discriminator => @name)
|
|
4004
4016
|
end
|
|
@@ -4099,6 +4111,10 @@ module Io
|
|
|
4099
4111
|
@name = HttpClient::Preconditions.assert_class('name', opts.delete(:name), String)
|
|
4100
4112
|
end
|
|
4101
4113
|
|
|
4114
|
+
def subtype_to_hash
|
|
4115
|
+
raise 'Cannot serialize an instance of event directly - must use one of the specific types: catalog_upserted, catalog_deleted, subcatalog_upserted, subcatalog_deleted, catalog_item_upserted, catalog_item_deleted, subcatalog_item_upserted, subcatalog_item_deleted, flow_currency_setting_deleted, flow_currency_setting_upserted, rate_deleted, rate_upserted, spot_rate_deleted, spot_rate_upserted, organization_currency_setting_deleted, organization_currency_setting_upserted, contracted_rate_upserted, experience_deleted, experience_upserted, item_margin_deleted, item_margin_upserted, order_deleted, order_upserted, order_booking_deleted, order_booking_upserted, hs6_code_upserted, hs6_code_deleted, hs10_code_upserted, hs10_code_deleted, label_upserted, notification_upserted, notification_deleted, localized_item_upserted, localized_item_deleted, localized_item_snapshot, organization_upserted, organization_deleted, authorization_upserted, authorization_deleted, capture_upserted, card_upserted, card_deleted, refund_upserted, targeting_item_upserted, targeting_item_deleted, tracking_label_event_upserted'
|
|
4116
|
+
end
|
|
4117
|
+
|
|
4102
4118
|
def to_hash
|
|
4103
4119
|
subtype_to_hash.merge(:discriminator => @name)
|
|
4104
4120
|
end
|
|
@@ -4200,6 +4216,10 @@ module Io
|
|
|
4200
4216
|
@name = HttpClient::Preconditions.assert_class('name', opts.delete(:name), String)
|
|
4201
4217
|
end
|
|
4202
4218
|
|
|
4219
|
+
def subtype_to_hash
|
|
4220
|
+
raise 'Cannot serialize an instance of expandable_item_function directly - must use one of the specific types: item_function, item_function_reference'
|
|
4221
|
+
end
|
|
4222
|
+
|
|
4203
4223
|
def to_hash
|
|
4204
4224
|
subtype_to_hash.merge(:discriminator => @name)
|
|
4205
4225
|
end
|
|
@@ -4256,6 +4276,10 @@ module Io
|
|
|
4256
4276
|
@name = HttpClient::Preconditions.assert_class('name', opts.delete(:name), String)
|
|
4257
4277
|
end
|
|
4258
4278
|
|
|
4279
|
+
def subtype_to_hash
|
|
4280
|
+
raise 'Cannot serialize an instance of expandable_organization directly - must use one of the specific types: organization, organization_reference'
|
|
4281
|
+
end
|
|
4282
|
+
|
|
4259
4283
|
def to_hash
|
|
4260
4284
|
subtype_to_hash.merge(:discriminator => @name)
|
|
4261
4285
|
end
|
|
@@ -4313,6 +4337,10 @@ module Io
|
|
|
4313
4337
|
@name = HttpClient::Preconditions.assert_class('name', opts.delete(:name), String)
|
|
4314
4338
|
end
|
|
4315
4339
|
|
|
4340
|
+
def subtype_to_hash
|
|
4341
|
+
raise 'Cannot serialize an instance of expandable_subcatalog directly - must use one of the specific types: subcatalog, subcatalog_reference'
|
|
4342
|
+
end
|
|
4343
|
+
|
|
4316
4344
|
def to_hash
|
|
4317
4345
|
subtype_to_hash.merge(:discriminator => @name)
|
|
4318
4346
|
end
|
|
@@ -4369,6 +4397,10 @@ module Io
|
|
|
4369
4397
|
@name = HttpClient::Preconditions.assert_class('name', opts.delete(:name), String)
|
|
4370
4398
|
end
|
|
4371
4399
|
|
|
4400
|
+
def subtype_to_hash
|
|
4401
|
+
raise 'Cannot serialize an instance of expandable_user directly - must use one of the specific types: user, user_reference'
|
|
4402
|
+
end
|
|
4403
|
+
|
|
4372
4404
|
def to_hash
|
|
4373
4405
|
subtype_to_hash.merge(:discriminator => @name)
|
|
4374
4406
|
end
|
|
@@ -4428,6 +4460,10 @@ module Io
|
|
|
4428
4460
|
@name = HttpClient::Preconditions.assert_class('name', opts.delete(:name), String)
|
|
4429
4461
|
end
|
|
4430
4462
|
|
|
4463
|
+
def subtype_to_hash
|
|
4464
|
+
raise 'Cannot serialize an instance of export_delivery directly - must use one of the specific types: export_delivery_email'
|
|
4465
|
+
end
|
|
4466
|
+
|
|
4431
4467
|
def to_hash
|
|
4432
4468
|
subtype_to_hash.merge(:discriminator => @name)
|
|
4433
4469
|
end
|
|
@@ -4486,6 +4522,10 @@ module Io
|
|
|
4486
4522
|
@name = HttpClient::Preconditions.assert_class('name', opts.delete(:name), String)
|
|
4487
4523
|
end
|
|
4488
4524
|
|
|
4525
|
+
def subtype_to_hash
|
|
4526
|
+
raise 'Cannot serialize an instance of export_type directly - must use one of the specific types: catalog_item_export_type, solidus_product_export_type, solidus_variant_export_type'
|
|
4527
|
+
end
|
|
4528
|
+
|
|
4489
4529
|
def to_hash
|
|
4490
4530
|
subtype_to_hash.merge(:discriminator => @name)
|
|
4491
4531
|
end
|
|
@@ -4553,6 +4593,10 @@ module Io
|
|
|
4553
4593
|
@name = HttpClient::Preconditions.assert_class('name', opts.delete(:name), String)
|
|
4554
4594
|
end
|
|
4555
4595
|
|
|
4596
|
+
def subtype_to_hash
|
|
4597
|
+
raise 'Cannot serialize an instance of inventory_strategy directly - must use one of the specific types: inventory_backorder, inventory_stock, inventory_unlimited'
|
|
4598
|
+
end
|
|
4599
|
+
|
|
4556
4600
|
def to_hash
|
|
4557
4601
|
subtype_to_hash.merge(:discriminator => @name)
|
|
4558
4602
|
end
|
|
@@ -4610,6 +4654,10 @@ module Io
|
|
|
4610
4654
|
@name = HttpClient::Preconditions.assert_class('name', opts.delete(:name), String)
|
|
4611
4655
|
end
|
|
4612
4656
|
|
|
4657
|
+
def subtype_to_hash
|
|
4658
|
+
raise 'Cannot serialize an instance of order_error directly - must use one of the specific types: order_item_not_available_error, generic_error'
|
|
4659
|
+
end
|
|
4660
|
+
|
|
4613
4661
|
def to_hash
|
|
4614
4662
|
subtype_to_hash.merge(:code => @name)
|
|
4615
4663
|
end
|
|
@@ -4671,6 +4719,10 @@ module Io
|
|
|
4671
4719
|
@name = HttpClient::Preconditions.assert_class('name', opts.delete(:name), String)
|
|
4672
4720
|
end
|
|
4673
4721
|
|
|
4722
|
+
def subtype_to_hash
|
|
4723
|
+
raise 'Cannot serialize an instance of tier_rule_outcome directly - must use one of the specific types: amount_margin, at_cost, flat_rate, percent_margin'
|
|
4724
|
+
end
|
|
4725
|
+
|
|
4674
4726
|
def to_hash
|
|
4675
4727
|
subtype_to_hash.merge(:discriminator => @name)
|
|
4676
4728
|
end
|