google-api-client 0.22.0 → 0.23.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +30 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +1 -2
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +1 -2
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +2 -3
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +59 -1
- data/generated/google/apis/appengine_v1/representations.rb +18 -0
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +0 -8
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +97 -12
- data/generated/google/apis/compute_alpha/representations.rb +23 -0
- data/generated/google/apis/compute_alpha/service.rb +41 -1
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +1616 -43
- data/generated/google/apis/compute_beta/representations.rb +685 -20
- data/generated/google/apis/compute_beta/service.rb +1286 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +184 -3
- data/generated/google/apis/compute_v1/representations.rb +43 -0
- data/generated/google/apis/compute_v1/service.rb +108 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +805 -102
- data/generated/google/apis/content_v2/representations.rb +393 -26
- data/generated/google/apis/content_v2/service.rb +242 -0
- data/generated/google/apis/content_v2sandbox.rb +1 -1
- data/generated/google/apis/content_v2sandbox/classes.rb +703 -0
- data/generated/google/apis/content_v2sandbox/representations.rb +367 -0
- data/generated/google/apis/content_v2sandbox/service.rb +242 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +280 -2
- data/generated/google/apis/dlp_v2/representations.rb +120 -0
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +35 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +16 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +2 -2
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +7 -0
- data/generated/google/apis/monitoring_v3/representations.rb +2 -0
- data/generated/google/apis/monitoring_v3/service.rb +5 -3
- data/generated/google/apis/pagespeedonline_v4.rb +1 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +0 -8
- data/generated/google/apis/pubsub_v1/service.rb +4 -8
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +7 -8
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +0 -27
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -15
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +0 -27
- data/generated/google/apis/serviceuser_v1/representations.rb +0 -15
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/service.rb +2 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/tpu_v1.rb +34 -0
- data/generated/google/apis/tpu_v1/classes.rb +736 -0
- data/generated/google/apis/tpu_v1/representations.rb +316 -0
- data/generated/google/apis/tpu_v1/service.rb +687 -0
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +26 -0
- data/generated/google/apis/tpu_v1alpha1/representations.rb +15 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +0 -473
- data/generated/google/apis/videointelligence_v1/representations.rb +0 -222
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +0 -473
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +0 -222
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -6
- data/generated/google/apis/photoslibrary_v1.rb +0 -49
- data/generated/google/apis/photoslibrary_v1/classes.rb +0 -1330
- data/generated/google/apis/photoslibrary_v1/representations.rb +0 -625
- data/generated/google/apis/photoslibrary_v1/service.rb +0 -399
@@ -22,6 +22,12 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module ContentV2sandbox
|
24
24
|
|
25
|
+
class Amount
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
25
31
|
class Error
|
26
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
33
|
|
@@ -34,6 +40,18 @@ module Google
|
|
34
40
|
include Google::Apis::Core::JsonObjectSupport
|
35
41
|
end
|
36
42
|
|
43
|
+
class InvoiceSummary
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class InvoiceSummaryAdditionalChargeSummary
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
37
55
|
class Order
|
38
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
57
|
|
@@ -154,6 +172,90 @@ module Google
|
|
154
172
|
include Google::Apis::Core::JsonObjectSupport
|
155
173
|
end
|
156
174
|
|
175
|
+
class OrderinvoicesCreateChargeInvoiceRequest
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
181
|
+
class OrderinvoicesCreateChargeInvoiceResponse
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
187
|
+
class OrderinvoicesCreateRefundInvoiceRequest
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
193
|
+
class OrderinvoicesCreateRefundInvoiceResponse
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
199
|
+
class OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceRefundOption
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
205
|
+
class OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceReturnOption
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
211
|
+
class OrderpaymentsNotifyAuthApprovedRequest
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
217
|
+
class OrderpaymentsNotifyAuthApprovedResponse
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
222
|
+
|
223
|
+
class OrderpaymentsNotifyAuthDeclinedRequest
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
+
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
227
|
+
end
|
228
|
+
|
229
|
+
class OrderpaymentsNotifyAuthDeclinedResponse
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
235
|
+
class OrderpaymentsNotifyChargeRequest
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
|
+
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
239
|
+
end
|
240
|
+
|
241
|
+
class OrderpaymentsNotifyChargeResponse
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
247
|
+
class OrderpaymentsNotifyRefundRequest
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
+
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
251
|
+
end
|
252
|
+
|
253
|
+
class OrderpaymentsNotifyRefundResponse
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
|
+
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
257
|
+
end
|
258
|
+
|
157
259
|
class OrdersAcknowledgeRequest
|
158
260
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
261
|
|
@@ -448,6 +550,24 @@ module Google
|
|
448
550
|
include Google::Apis::Core::JsonObjectSupport
|
449
551
|
end
|
450
552
|
|
553
|
+
class Promotion
|
554
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
555
|
+
|
556
|
+
include Google::Apis::Core::JsonObjectSupport
|
557
|
+
end
|
558
|
+
|
559
|
+
class ShipmentInvoice
|
560
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
561
|
+
|
562
|
+
include Google::Apis::Core::JsonObjectSupport
|
563
|
+
end
|
564
|
+
|
565
|
+
class ShipmentInvoiceLineItemInvoice
|
566
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
567
|
+
|
568
|
+
include Google::Apis::Core::JsonObjectSupport
|
569
|
+
end
|
570
|
+
|
451
571
|
class TestOrder
|
452
572
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
453
573
|
|
@@ -484,6 +604,34 @@ module Google
|
|
484
604
|
include Google::Apis::Core::JsonObjectSupport
|
485
605
|
end
|
486
606
|
|
607
|
+
class UnitInvoice
|
608
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
609
|
+
|
610
|
+
include Google::Apis::Core::JsonObjectSupport
|
611
|
+
end
|
612
|
+
|
613
|
+
class UnitInvoiceAdditionalCharge
|
614
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
615
|
+
|
616
|
+
include Google::Apis::Core::JsonObjectSupport
|
617
|
+
end
|
618
|
+
|
619
|
+
class UnitInvoiceTaxLine
|
620
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
621
|
+
|
622
|
+
include Google::Apis::Core::JsonObjectSupport
|
623
|
+
end
|
624
|
+
|
625
|
+
class Amount
|
626
|
+
# @private
|
627
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
628
|
+
property :pretax, as: 'pretax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
|
629
|
+
|
630
|
+
property :tax, as: 'tax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
|
631
|
+
|
632
|
+
end
|
633
|
+
end
|
634
|
+
|
487
635
|
class Error
|
488
636
|
# @private
|
489
637
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -503,6 +651,33 @@ module Google
|
|
503
651
|
end
|
504
652
|
end
|
505
653
|
|
654
|
+
class InvoiceSummary
|
655
|
+
# @private
|
656
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
657
|
+
collection :additional_charge_summaries, as: 'additionalChargeSummaries', class: Google::Apis::ContentV2sandbox::InvoiceSummaryAdditionalChargeSummary, decorator: Google::Apis::ContentV2sandbox::InvoiceSummaryAdditionalChargeSummary::Representation
|
658
|
+
|
659
|
+
property :customer_balance, as: 'customerBalance', class: Google::Apis::ContentV2sandbox::Amount, decorator: Google::Apis::ContentV2sandbox::Amount::Representation
|
660
|
+
|
661
|
+
property :google_balance, as: 'googleBalance', class: Google::Apis::ContentV2sandbox::Amount, decorator: Google::Apis::ContentV2sandbox::Amount::Representation
|
662
|
+
|
663
|
+
property :merchant_balance, as: 'merchantBalance', class: Google::Apis::ContentV2sandbox::Amount, decorator: Google::Apis::ContentV2sandbox::Amount::Representation
|
664
|
+
|
665
|
+
property :product_total, as: 'productTotal', class: Google::Apis::ContentV2sandbox::Amount, decorator: Google::Apis::ContentV2sandbox::Amount::Representation
|
666
|
+
|
667
|
+
collection :promotion_summaries, as: 'promotionSummaries', class: Google::Apis::ContentV2sandbox::Promotion, decorator: Google::Apis::ContentV2sandbox::Promotion::Representation
|
668
|
+
|
669
|
+
end
|
670
|
+
end
|
671
|
+
|
672
|
+
class InvoiceSummaryAdditionalChargeSummary
|
673
|
+
# @private
|
674
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
675
|
+
property :total_amount, as: 'totalAmount', class: Google::Apis::ContentV2sandbox::Amount, decorator: Google::Apis::ContentV2sandbox::Amount::Representation
|
676
|
+
|
677
|
+
property :type, as: 'type'
|
678
|
+
end
|
679
|
+
end
|
680
|
+
|
506
681
|
class Order
|
507
682
|
# @private
|
508
683
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -776,6 +951,130 @@ module Google
|
|
776
951
|
end
|
777
952
|
end
|
778
953
|
|
954
|
+
class OrderinvoicesCreateChargeInvoiceRequest
|
955
|
+
# @private
|
956
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
957
|
+
property :invoice_id, as: 'invoiceId'
|
958
|
+
property :invoice_summary, as: 'invoiceSummary', class: Google::Apis::ContentV2sandbox::InvoiceSummary, decorator: Google::Apis::ContentV2sandbox::InvoiceSummary::Representation
|
959
|
+
|
960
|
+
collection :line_item_invoices, as: 'lineItemInvoices', class: Google::Apis::ContentV2sandbox::ShipmentInvoiceLineItemInvoice, decorator: Google::Apis::ContentV2sandbox::ShipmentInvoiceLineItemInvoice::Representation
|
961
|
+
|
962
|
+
property :operation_id, as: 'operationId'
|
963
|
+
property :shipment_group_id, as: 'shipmentGroupId'
|
964
|
+
end
|
965
|
+
end
|
966
|
+
|
967
|
+
class OrderinvoicesCreateChargeInvoiceResponse
|
968
|
+
# @private
|
969
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
970
|
+
property :execution_status, as: 'executionStatus'
|
971
|
+
property :kind, as: 'kind'
|
972
|
+
end
|
973
|
+
end
|
974
|
+
|
975
|
+
class OrderinvoicesCreateRefundInvoiceRequest
|
976
|
+
# @private
|
977
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
978
|
+
property :invoice_id, as: 'invoiceId'
|
979
|
+
property :operation_id, as: 'operationId'
|
980
|
+
property :refund_only_option, as: 'refundOnlyOption', class: Google::Apis::ContentV2sandbox::OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceRefundOption, decorator: Google::Apis::ContentV2sandbox::OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceRefundOption::Representation
|
981
|
+
|
982
|
+
property :return_option, as: 'returnOption', class: Google::Apis::ContentV2sandbox::OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceReturnOption, decorator: Google::Apis::ContentV2sandbox::OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceReturnOption::Representation
|
983
|
+
|
984
|
+
collection :shipment_invoices, as: 'shipmentInvoices', class: Google::Apis::ContentV2sandbox::ShipmentInvoice, decorator: Google::Apis::ContentV2sandbox::ShipmentInvoice::Representation
|
985
|
+
|
986
|
+
end
|
987
|
+
end
|
988
|
+
|
989
|
+
class OrderinvoicesCreateRefundInvoiceResponse
|
990
|
+
# @private
|
991
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
992
|
+
property :execution_status, as: 'executionStatus'
|
993
|
+
property :kind, as: 'kind'
|
994
|
+
end
|
995
|
+
end
|
996
|
+
|
997
|
+
class OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceRefundOption
|
998
|
+
# @private
|
999
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1000
|
+
property :description, as: 'description'
|
1001
|
+
property :reason, as: 'reason'
|
1002
|
+
end
|
1003
|
+
end
|
1004
|
+
|
1005
|
+
class OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceReturnOption
|
1006
|
+
# @private
|
1007
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1008
|
+
property :description, as: 'description'
|
1009
|
+
property :reason, as: 'reason'
|
1010
|
+
end
|
1011
|
+
end
|
1012
|
+
|
1013
|
+
class OrderpaymentsNotifyAuthApprovedRequest
|
1014
|
+
# @private
|
1015
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1016
|
+
property :auth_amount_pretax, as: 'authAmountPretax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
|
1017
|
+
|
1018
|
+
property :auth_amount_tax, as: 'authAmountTax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
|
1019
|
+
|
1020
|
+
end
|
1021
|
+
end
|
1022
|
+
|
1023
|
+
class OrderpaymentsNotifyAuthApprovedResponse
|
1024
|
+
# @private
|
1025
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1026
|
+
property :execution_status, as: 'executionStatus'
|
1027
|
+
property :kind, as: 'kind'
|
1028
|
+
end
|
1029
|
+
end
|
1030
|
+
|
1031
|
+
class OrderpaymentsNotifyAuthDeclinedRequest
|
1032
|
+
# @private
|
1033
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1034
|
+
property :decline_reason, as: 'declineReason'
|
1035
|
+
end
|
1036
|
+
end
|
1037
|
+
|
1038
|
+
class OrderpaymentsNotifyAuthDeclinedResponse
|
1039
|
+
# @private
|
1040
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1041
|
+
property :execution_status, as: 'executionStatus'
|
1042
|
+
property :kind, as: 'kind'
|
1043
|
+
end
|
1044
|
+
end
|
1045
|
+
|
1046
|
+
class OrderpaymentsNotifyChargeRequest
|
1047
|
+
# @private
|
1048
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1049
|
+
property :charge_state, as: 'chargeState'
|
1050
|
+
property :invoice_id, as: 'invoiceId'
|
1051
|
+
end
|
1052
|
+
end
|
1053
|
+
|
1054
|
+
class OrderpaymentsNotifyChargeResponse
|
1055
|
+
# @private
|
1056
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1057
|
+
property :execution_status, as: 'executionStatus'
|
1058
|
+
property :kind, as: 'kind'
|
1059
|
+
end
|
1060
|
+
end
|
1061
|
+
|
1062
|
+
class OrderpaymentsNotifyRefundRequest
|
1063
|
+
# @private
|
1064
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1065
|
+
property :invoice_id, as: 'invoiceId'
|
1066
|
+
property :refund_state, as: 'refundState'
|
1067
|
+
end
|
1068
|
+
end
|
1069
|
+
|
1070
|
+
class OrderpaymentsNotifyRefundResponse
|
1071
|
+
# @private
|
1072
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1073
|
+
property :execution_status, as: 'executionStatus'
|
1074
|
+
property :kind, as: 'kind'
|
1075
|
+
end
|
1076
|
+
end
|
1077
|
+
|
779
1078
|
class OrdersAcknowledgeRequest
|
780
1079
|
# @private
|
781
1080
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1007,6 +1306,7 @@ module Google
|
|
1007
1306
|
property :carrier, as: 'carrier'
|
1008
1307
|
collection :line_items, as: 'lineItems', class: Google::Apis::ContentV2sandbox::OrderShipmentLineItemShipment, decorator: Google::Apis::ContentV2sandbox::OrderShipmentLineItemShipment::Representation
|
1009
1308
|
|
1309
|
+
property :shipment_group_id, as: 'shipmentGroupId'
|
1010
1310
|
property :shipment_id, as: 'shipmentId'
|
1011
1311
|
collection :shipment_infos, as: 'shipmentInfos', class: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo, decorator: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo::Representation
|
1012
1312
|
|
@@ -1230,6 +1530,7 @@ module Google
|
|
1230
1530
|
collection :line_items, as: 'lineItems', class: Google::Apis::ContentV2sandbox::OrderShipmentLineItemShipment, decorator: Google::Apis::ContentV2sandbox::OrderShipmentLineItemShipment::Representation
|
1231
1531
|
|
1232
1532
|
property :operation_id, as: 'operationId'
|
1533
|
+
property :shipment_group_id, as: 'shipmentGroupId'
|
1233
1534
|
property :shipment_id, as: 'shipmentId'
|
1234
1535
|
collection :shipment_infos, as: 'shipmentInfos', class: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo, decorator: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo::Representation
|
1235
1536
|
|
@@ -1307,6 +1608,37 @@ module Google
|
|
1307
1608
|
end
|
1308
1609
|
end
|
1309
1610
|
|
1611
|
+
class Promotion
|
1612
|
+
# @private
|
1613
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1614
|
+
property :promotion_amount, as: 'promotionAmount', class: Google::Apis::ContentV2sandbox::Amount, decorator: Google::Apis::ContentV2sandbox::Amount::Representation
|
1615
|
+
|
1616
|
+
property :promotion_id, as: 'promotionId'
|
1617
|
+
end
|
1618
|
+
end
|
1619
|
+
|
1620
|
+
class ShipmentInvoice
|
1621
|
+
# @private
|
1622
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1623
|
+
property :invoice_summary, as: 'invoiceSummary', class: Google::Apis::ContentV2sandbox::InvoiceSummary, decorator: Google::Apis::ContentV2sandbox::InvoiceSummary::Representation
|
1624
|
+
|
1625
|
+
collection :line_item_invoices, as: 'lineItemInvoices', class: Google::Apis::ContentV2sandbox::ShipmentInvoiceLineItemInvoice, decorator: Google::Apis::ContentV2sandbox::ShipmentInvoiceLineItemInvoice::Representation
|
1626
|
+
|
1627
|
+
property :shipment_group_id, as: 'shipmentGroupId'
|
1628
|
+
end
|
1629
|
+
end
|
1630
|
+
|
1631
|
+
class ShipmentInvoiceLineItemInvoice
|
1632
|
+
# @private
|
1633
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1634
|
+
property :line_item_id, as: 'lineItemId'
|
1635
|
+
property :product_id, as: 'productId'
|
1636
|
+
collection :shipment_unit_ids, as: 'shipmentUnitIds'
|
1637
|
+
property :unit_invoice, as: 'unitInvoice', class: Google::Apis::ContentV2sandbox::UnitInvoice, decorator: Google::Apis::ContentV2sandbox::UnitInvoice::Representation
|
1638
|
+
|
1639
|
+
end
|
1640
|
+
end
|
1641
|
+
|
1310
1642
|
class TestOrder
|
1311
1643
|
# @private
|
1312
1644
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1394,6 +1726,41 @@ module Google
|
|
1394
1726
|
property :type, as: 'type'
|
1395
1727
|
end
|
1396
1728
|
end
|
1729
|
+
|
1730
|
+
class UnitInvoice
|
1731
|
+
# @private
|
1732
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1733
|
+
collection :additional_charges, as: 'additionalCharges', class: Google::Apis::ContentV2sandbox::UnitInvoiceAdditionalCharge, decorator: Google::Apis::ContentV2sandbox::UnitInvoiceAdditionalCharge::Representation
|
1734
|
+
|
1735
|
+
collection :promotions, as: 'promotions', class: Google::Apis::ContentV2sandbox::Promotion, decorator: Google::Apis::ContentV2sandbox::Promotion::Representation
|
1736
|
+
|
1737
|
+
property :unit_price_pretax, as: 'unitPricePretax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
|
1738
|
+
|
1739
|
+
collection :unit_price_taxes, as: 'unitPriceTaxes', class: Google::Apis::ContentV2sandbox::UnitInvoiceTaxLine, decorator: Google::Apis::ContentV2sandbox::UnitInvoiceTaxLine::Representation
|
1740
|
+
|
1741
|
+
end
|
1742
|
+
end
|
1743
|
+
|
1744
|
+
class UnitInvoiceAdditionalCharge
|
1745
|
+
# @private
|
1746
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1747
|
+
property :additional_charge_amount, as: 'additionalChargeAmount', class: Google::Apis::ContentV2sandbox::Amount, decorator: Google::Apis::ContentV2sandbox::Amount::Representation
|
1748
|
+
|
1749
|
+
collection :additional_charge_promotions, as: 'additionalChargePromotions', class: Google::Apis::ContentV2sandbox::Promotion, decorator: Google::Apis::ContentV2sandbox::Promotion::Representation
|
1750
|
+
|
1751
|
+
property :type, as: 'type'
|
1752
|
+
end
|
1753
|
+
end
|
1754
|
+
|
1755
|
+
class UnitInvoiceTaxLine
|
1756
|
+
# @private
|
1757
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1758
|
+
property :tax_amount, as: 'taxAmount', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
|
1759
|
+
|
1760
|
+
property :tax_name, as: 'taxName'
|
1761
|
+
property :tax_type, as: 'taxType'
|
1762
|
+
end
|
1763
|
+
end
|
1397
1764
|
end
|
1398
1765
|
end
|
1399
1766
|
end
|
@@ -52,6 +52,248 @@ module Google
|
|
52
52
|
@batch_path = 'batch/content/v2sandbox'
|
53
53
|
end
|
54
54
|
|
55
|
+
# Creates a charge invoice for a shipment group, and triggers a charge capture
|
56
|
+
# for non-facilitated payment orders.
|
57
|
+
# @param [Fixnum] merchant_id
|
58
|
+
# The ID of the account that manages the order. This cannot be a multi-client
|
59
|
+
# account.
|
60
|
+
# @param [String] order_id
|
61
|
+
# The ID of the order.
|
62
|
+
# @param [Google::Apis::ContentV2sandbox::OrderinvoicesCreateChargeInvoiceRequest] orderinvoices_create_charge_invoice_request_object
|
63
|
+
# @param [String] fields
|
64
|
+
# Selector specifying which fields to include in a partial response.
|
65
|
+
# @param [String] quota_user
|
66
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
67
|
+
# characters.
|
68
|
+
# @param [String] user_ip
|
69
|
+
# Deprecated. Please use quotaUser instead.
|
70
|
+
# @param [Google::Apis::RequestOptions] options
|
71
|
+
# Request-specific options
|
72
|
+
#
|
73
|
+
# @yield [result, err] Result & error if block supplied
|
74
|
+
# @yieldparam result [Google::Apis::ContentV2sandbox::OrderinvoicesCreateChargeInvoiceResponse] parsed result object
|
75
|
+
# @yieldparam err [StandardError] error object if request failed
|
76
|
+
#
|
77
|
+
# @return [Google::Apis::ContentV2sandbox::OrderinvoicesCreateChargeInvoiceResponse]
|
78
|
+
#
|
79
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
80
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
81
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
82
|
+
def createchargeinvoice_orderinvoice(merchant_id, order_id, orderinvoices_create_charge_invoice_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
83
|
+
command = make_simple_command(:post, '{merchantId}/orderinvoices/{orderId}/createChargeInvoice', options)
|
84
|
+
command.request_representation = Google::Apis::ContentV2sandbox::OrderinvoicesCreateChargeInvoiceRequest::Representation
|
85
|
+
command.request_object = orderinvoices_create_charge_invoice_request_object
|
86
|
+
command.response_representation = Google::Apis::ContentV2sandbox::OrderinvoicesCreateChargeInvoiceResponse::Representation
|
87
|
+
command.response_class = Google::Apis::ContentV2sandbox::OrderinvoicesCreateChargeInvoiceResponse
|
88
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
89
|
+
command.params['orderId'] = order_id unless order_id.nil?
|
90
|
+
command.query['fields'] = fields unless fields.nil?
|
91
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
92
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
93
|
+
execute_or_queue_command(command, &block)
|
94
|
+
end
|
95
|
+
|
96
|
+
# Creates a refund invoice for one or more shipment groups, and triggers a
|
97
|
+
# refund for non-facilitated payment orders.
|
98
|
+
# @param [Fixnum] merchant_id
|
99
|
+
# The ID of the account that manages the order. This cannot be a multi-client
|
100
|
+
# account.
|
101
|
+
# @param [String] order_id
|
102
|
+
# The ID of the order.
|
103
|
+
# @param [Google::Apis::ContentV2sandbox::OrderinvoicesCreateRefundInvoiceRequest] orderinvoices_create_refund_invoice_request_object
|
104
|
+
# @param [String] fields
|
105
|
+
# Selector specifying which fields to include in a partial response.
|
106
|
+
# @param [String] quota_user
|
107
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
108
|
+
# characters.
|
109
|
+
# @param [String] user_ip
|
110
|
+
# Deprecated. Please use quotaUser instead.
|
111
|
+
# @param [Google::Apis::RequestOptions] options
|
112
|
+
# Request-specific options
|
113
|
+
#
|
114
|
+
# @yield [result, err] Result & error if block supplied
|
115
|
+
# @yieldparam result [Google::Apis::ContentV2sandbox::OrderinvoicesCreateRefundInvoiceResponse] parsed result object
|
116
|
+
# @yieldparam err [StandardError] error object if request failed
|
117
|
+
#
|
118
|
+
# @return [Google::Apis::ContentV2sandbox::OrderinvoicesCreateRefundInvoiceResponse]
|
119
|
+
#
|
120
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
121
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
122
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
123
|
+
def createrefundinvoice_orderinvoice(merchant_id, order_id, orderinvoices_create_refund_invoice_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
124
|
+
command = make_simple_command(:post, '{merchantId}/orderinvoices/{orderId}/createRefundInvoice', options)
|
125
|
+
command.request_representation = Google::Apis::ContentV2sandbox::OrderinvoicesCreateRefundInvoiceRequest::Representation
|
126
|
+
command.request_object = orderinvoices_create_refund_invoice_request_object
|
127
|
+
command.response_representation = Google::Apis::ContentV2sandbox::OrderinvoicesCreateRefundInvoiceResponse::Representation
|
128
|
+
command.response_class = Google::Apis::ContentV2sandbox::OrderinvoicesCreateRefundInvoiceResponse
|
129
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
130
|
+
command.params['orderId'] = order_id unless order_id.nil?
|
131
|
+
command.query['fields'] = fields unless fields.nil?
|
132
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
133
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
134
|
+
execute_or_queue_command(command, &block)
|
135
|
+
end
|
136
|
+
|
137
|
+
# Notify about successfully authorizing user's payment method for a given amount.
|
138
|
+
# @param [Fixnum] merchant_id
|
139
|
+
# The ID of the account that manages the order. This cannot be a multi-client
|
140
|
+
# account.
|
141
|
+
# @param [String] order_id
|
142
|
+
# The ID of the order for for which payment authorization is happening.
|
143
|
+
# @param [Google::Apis::ContentV2sandbox::OrderpaymentsNotifyAuthApprovedRequest] orderpayments_notify_auth_approved_request_object
|
144
|
+
# @param [String] fields
|
145
|
+
# Selector specifying which fields to include in a partial response.
|
146
|
+
# @param [String] quota_user
|
147
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
148
|
+
# characters.
|
149
|
+
# @param [String] user_ip
|
150
|
+
# Deprecated. Please use quotaUser instead.
|
151
|
+
# @param [Google::Apis::RequestOptions] options
|
152
|
+
# Request-specific options
|
153
|
+
#
|
154
|
+
# @yield [result, err] Result & error if block supplied
|
155
|
+
# @yieldparam result [Google::Apis::ContentV2sandbox::OrderpaymentsNotifyAuthApprovedResponse] parsed result object
|
156
|
+
# @yieldparam err [StandardError] error object if request failed
|
157
|
+
#
|
158
|
+
# @return [Google::Apis::ContentV2sandbox::OrderpaymentsNotifyAuthApprovedResponse]
|
159
|
+
#
|
160
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
161
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
162
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
163
|
+
def notifyauthapproved_orderpayment(merchant_id, order_id, orderpayments_notify_auth_approved_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
164
|
+
command = make_simple_command(:post, '{merchantId}/orderpayments/{orderId}/notifyAuthApproved', options)
|
165
|
+
command.request_representation = Google::Apis::ContentV2sandbox::OrderpaymentsNotifyAuthApprovedRequest::Representation
|
166
|
+
command.request_object = orderpayments_notify_auth_approved_request_object
|
167
|
+
command.response_representation = Google::Apis::ContentV2sandbox::OrderpaymentsNotifyAuthApprovedResponse::Representation
|
168
|
+
command.response_class = Google::Apis::ContentV2sandbox::OrderpaymentsNotifyAuthApprovedResponse
|
169
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
170
|
+
command.params['orderId'] = order_id unless order_id.nil?
|
171
|
+
command.query['fields'] = fields unless fields.nil?
|
172
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
173
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
174
|
+
execute_or_queue_command(command, &block)
|
175
|
+
end
|
176
|
+
|
177
|
+
# Notify about failure to authorize user's payment method.
|
178
|
+
# @param [Fixnum] merchant_id
|
179
|
+
# The ID of the account that manages the order. This cannot be a multi-client
|
180
|
+
# account.
|
181
|
+
# @param [String] order_id
|
182
|
+
# The ID of the order for which payment authorization was declined.
|
183
|
+
# @param [Google::Apis::ContentV2sandbox::OrderpaymentsNotifyAuthDeclinedRequest] orderpayments_notify_auth_declined_request_object
|
184
|
+
# @param [String] fields
|
185
|
+
# Selector specifying which fields to include in a partial response.
|
186
|
+
# @param [String] quota_user
|
187
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
188
|
+
# characters.
|
189
|
+
# @param [String] user_ip
|
190
|
+
# Deprecated. Please use quotaUser instead.
|
191
|
+
# @param [Google::Apis::RequestOptions] options
|
192
|
+
# Request-specific options
|
193
|
+
#
|
194
|
+
# @yield [result, err] Result & error if block supplied
|
195
|
+
# @yieldparam result [Google::Apis::ContentV2sandbox::OrderpaymentsNotifyAuthDeclinedResponse] parsed result object
|
196
|
+
# @yieldparam err [StandardError] error object if request failed
|
197
|
+
#
|
198
|
+
# @return [Google::Apis::ContentV2sandbox::OrderpaymentsNotifyAuthDeclinedResponse]
|
199
|
+
#
|
200
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
201
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
202
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
203
|
+
def notifyauthdeclined_orderpayment(merchant_id, order_id, orderpayments_notify_auth_declined_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
204
|
+
command = make_simple_command(:post, '{merchantId}/orderpayments/{orderId}/notifyAuthDeclined', options)
|
205
|
+
command.request_representation = Google::Apis::ContentV2sandbox::OrderpaymentsNotifyAuthDeclinedRequest::Representation
|
206
|
+
command.request_object = orderpayments_notify_auth_declined_request_object
|
207
|
+
command.response_representation = Google::Apis::ContentV2sandbox::OrderpaymentsNotifyAuthDeclinedResponse::Representation
|
208
|
+
command.response_class = Google::Apis::ContentV2sandbox::OrderpaymentsNotifyAuthDeclinedResponse
|
209
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
210
|
+
command.params['orderId'] = order_id unless order_id.nil?
|
211
|
+
command.query['fields'] = fields unless fields.nil?
|
212
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
213
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
214
|
+
execute_or_queue_command(command, &block)
|
215
|
+
end
|
216
|
+
|
217
|
+
# Notify about charge on user's selected payments method.
|
218
|
+
# @param [Fixnum] merchant_id
|
219
|
+
# The ID of the account that manages the order. This cannot be a multi-client
|
220
|
+
# account.
|
221
|
+
# @param [String] order_id
|
222
|
+
# The ID of the order for which charge is happening.
|
223
|
+
# @param [Google::Apis::ContentV2sandbox::OrderpaymentsNotifyChargeRequest] orderpayments_notify_charge_request_object
|
224
|
+
# @param [String] fields
|
225
|
+
# Selector specifying which fields to include in a partial response.
|
226
|
+
# @param [String] quota_user
|
227
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
228
|
+
# characters.
|
229
|
+
# @param [String] user_ip
|
230
|
+
# Deprecated. Please use quotaUser instead.
|
231
|
+
# @param [Google::Apis::RequestOptions] options
|
232
|
+
# Request-specific options
|
233
|
+
#
|
234
|
+
# @yield [result, err] Result & error if block supplied
|
235
|
+
# @yieldparam result [Google::Apis::ContentV2sandbox::OrderpaymentsNotifyChargeResponse] parsed result object
|
236
|
+
# @yieldparam err [StandardError] error object if request failed
|
237
|
+
#
|
238
|
+
# @return [Google::Apis::ContentV2sandbox::OrderpaymentsNotifyChargeResponse]
|
239
|
+
#
|
240
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
241
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
242
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
243
|
+
def notifycharge_orderpayment(merchant_id, order_id, orderpayments_notify_charge_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
244
|
+
command = make_simple_command(:post, '{merchantId}/orderpayments/{orderId}/notifyCharge', options)
|
245
|
+
command.request_representation = Google::Apis::ContentV2sandbox::OrderpaymentsNotifyChargeRequest::Representation
|
246
|
+
command.request_object = orderpayments_notify_charge_request_object
|
247
|
+
command.response_representation = Google::Apis::ContentV2sandbox::OrderpaymentsNotifyChargeResponse::Representation
|
248
|
+
command.response_class = Google::Apis::ContentV2sandbox::OrderpaymentsNotifyChargeResponse
|
249
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
250
|
+
command.params['orderId'] = order_id unless order_id.nil?
|
251
|
+
command.query['fields'] = fields unless fields.nil?
|
252
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
253
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
254
|
+
execute_or_queue_command(command, &block)
|
255
|
+
end
|
256
|
+
|
257
|
+
# Notify about refund on user's selected payments method.
|
258
|
+
# @param [Fixnum] merchant_id
|
259
|
+
# The ID of the account that manages the order. This cannot be a multi-client
|
260
|
+
# account.
|
261
|
+
# @param [String] order_id
|
262
|
+
# The ID of the order for which charge is happening.
|
263
|
+
# @param [Google::Apis::ContentV2sandbox::OrderpaymentsNotifyRefundRequest] orderpayments_notify_refund_request_object
|
264
|
+
# @param [String] fields
|
265
|
+
# Selector specifying which fields to include in a partial response.
|
266
|
+
# @param [String] quota_user
|
267
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
268
|
+
# characters.
|
269
|
+
# @param [String] user_ip
|
270
|
+
# Deprecated. Please use quotaUser instead.
|
271
|
+
# @param [Google::Apis::RequestOptions] options
|
272
|
+
# Request-specific options
|
273
|
+
#
|
274
|
+
# @yield [result, err] Result & error if block supplied
|
275
|
+
# @yieldparam result [Google::Apis::ContentV2sandbox::OrderpaymentsNotifyRefundResponse] parsed result object
|
276
|
+
# @yieldparam err [StandardError] error object if request failed
|
277
|
+
#
|
278
|
+
# @return [Google::Apis::ContentV2sandbox::OrderpaymentsNotifyRefundResponse]
|
279
|
+
#
|
280
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
281
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
282
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
283
|
+
def notifyrefund_orderpayment(merchant_id, order_id, orderpayments_notify_refund_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
284
|
+
command = make_simple_command(:post, '{merchantId}/orderpayments/{orderId}/notifyRefund', options)
|
285
|
+
command.request_representation = Google::Apis::ContentV2sandbox::OrderpaymentsNotifyRefundRequest::Representation
|
286
|
+
command.request_object = orderpayments_notify_refund_request_object
|
287
|
+
command.response_representation = Google::Apis::ContentV2sandbox::OrderpaymentsNotifyRefundResponse::Representation
|
288
|
+
command.response_class = Google::Apis::ContentV2sandbox::OrderpaymentsNotifyRefundResponse
|
289
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
290
|
+
command.params['orderId'] = order_id unless order_id.nil?
|
291
|
+
command.query['fields'] = fields unless fields.nil?
|
292
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
293
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
294
|
+
execute_or_queue_command(command, &block)
|
295
|
+
end
|
296
|
+
|
55
297
|
# Marks an order as acknowledged.
|
56
298
|
# @param [Fixnum] merchant_id
|
57
299
|
# The ID of the account that manages the order. This cannot be a multi-client
|