google-apis-content_v2_1 0.46.0 → 0.47.0
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 964fc47aa6753f36c02287eaf30d89e945517ccf71581f41513401ad8da6dba0
|
|
4
|
+
data.tar.gz: d5dfbd8caffef13f4dbbeff083578d8dd4fa40583fb6ddac9451f7979d27d73c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: afe170c1a4aa7708b5da2904d6717518ff8aad3d6228ad3a0ecb3fe85600098668eeb2d9a7ed6b40da4c1ded36ac33208f4455429ceda6b1ff1bb56b067d4986
|
|
7
|
+
data.tar.gz: 3a29746922c5804ff9df751a0f18eeb947ef45d0a7c41ff943a59ecc14f4937be23740b4f868d0f195169d4d7e0f1303c4c4170d1fa0d7fbbf0e4aeb1821d7b0
|
data/CHANGELOG.md
CHANGED
|
@@ -12466,178 +12466,6 @@ module Google
|
|
|
12466
12466
|
end
|
|
12467
12467
|
end
|
|
12468
12468
|
|
|
12469
|
-
# Return address resource.
|
|
12470
|
-
class ReturnAddress
|
|
12471
|
-
include Google::Apis::Core::Hashable
|
|
12472
|
-
|
|
12473
|
-
# Required. The address.
|
|
12474
|
-
# Corresponds to the JSON property `address`
|
|
12475
|
-
# @return [Google::Apis::ContentV2_1::ReturnAddressAddress]
|
|
12476
|
-
attr_accessor :address
|
|
12477
|
-
|
|
12478
|
-
# Required. The country of sale where the return address is applicable.
|
|
12479
|
-
# Corresponds to the JSON property `country`
|
|
12480
|
-
# @return [String]
|
|
12481
|
-
attr_accessor :country
|
|
12482
|
-
|
|
12483
|
-
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
|
12484
|
-
# returnAddress`"
|
|
12485
|
-
# Corresponds to the JSON property `kind`
|
|
12486
|
-
# @return [String]
|
|
12487
|
-
attr_accessor :kind
|
|
12488
|
-
|
|
12489
|
-
# Required. The user-defined label of the return address. For the default
|
|
12490
|
-
# address, use the label "default".
|
|
12491
|
-
# Corresponds to the JSON property `label`
|
|
12492
|
-
# @return [String]
|
|
12493
|
-
attr_accessor :label
|
|
12494
|
-
|
|
12495
|
-
# Required. The merchant's contact phone number regarding the return.
|
|
12496
|
-
# Corresponds to the JSON property `phoneNumber`
|
|
12497
|
-
# @return [String]
|
|
12498
|
-
attr_accessor :phone_number
|
|
12499
|
-
|
|
12500
|
-
# Return address ID generated by Google.
|
|
12501
|
-
# Corresponds to the JSON property `returnAddressId`
|
|
12502
|
-
# @return [String]
|
|
12503
|
-
attr_accessor :return_address_id
|
|
12504
|
-
|
|
12505
|
-
def initialize(**args)
|
|
12506
|
-
update!(**args)
|
|
12507
|
-
end
|
|
12508
|
-
|
|
12509
|
-
# Update properties of this object
|
|
12510
|
-
def update!(**args)
|
|
12511
|
-
@address = args[:address] if args.key?(:address)
|
|
12512
|
-
@country = args[:country] if args.key?(:country)
|
|
12513
|
-
@kind = args[:kind] if args.key?(:kind)
|
|
12514
|
-
@label = args[:label] if args.key?(:label)
|
|
12515
|
-
@phone_number = args[:phone_number] if args.key?(:phone_number)
|
|
12516
|
-
@return_address_id = args[:return_address_id] if args.key?(:return_address_id)
|
|
12517
|
-
end
|
|
12518
|
-
end
|
|
12519
|
-
|
|
12520
|
-
#
|
|
12521
|
-
class ReturnAddressAddress
|
|
12522
|
-
include Google::Apis::Core::Hashable
|
|
12523
|
-
|
|
12524
|
-
# CLDR country code (for example, "US").
|
|
12525
|
-
# Corresponds to the JSON property `country`
|
|
12526
|
-
# @return [String]
|
|
12527
|
-
attr_accessor :country
|
|
12528
|
-
|
|
12529
|
-
# City, town or commune. May also include dependent localities or sublocalities (
|
|
12530
|
-
# for example, neighborhoods or suburbs).
|
|
12531
|
-
# Corresponds to the JSON property `locality`
|
|
12532
|
-
# @return [String]
|
|
12533
|
-
attr_accessor :locality
|
|
12534
|
-
|
|
12535
|
-
# Postal code or ZIP (for example, "94043").
|
|
12536
|
-
# Corresponds to the JSON property `postalCode`
|
|
12537
|
-
# @return [String]
|
|
12538
|
-
attr_accessor :postal_code
|
|
12539
|
-
|
|
12540
|
-
# Name of the recipient to address returns to.
|
|
12541
|
-
# Corresponds to the JSON property `recipientName`
|
|
12542
|
-
# @return [String]
|
|
12543
|
-
attr_accessor :recipient_name
|
|
12544
|
-
|
|
12545
|
-
# Top-level administrative subdivision of the country. For example, a state like
|
|
12546
|
-
# California ("CA") or a province like Quebec ("QC").
|
|
12547
|
-
# Corresponds to the JSON property `region`
|
|
12548
|
-
# @return [String]
|
|
12549
|
-
attr_accessor :region
|
|
12550
|
-
|
|
12551
|
-
# Street-level part of the address. May be up to two lines, each line specified
|
|
12552
|
-
# as an array element.
|
|
12553
|
-
# Corresponds to the JSON property `streetAddress`
|
|
12554
|
-
# @return [Array<String>]
|
|
12555
|
-
attr_accessor :street_address
|
|
12556
|
-
|
|
12557
|
-
def initialize(**args)
|
|
12558
|
-
update!(**args)
|
|
12559
|
-
end
|
|
12560
|
-
|
|
12561
|
-
# Update properties of this object
|
|
12562
|
-
def update!(**args)
|
|
12563
|
-
@country = args[:country] if args.key?(:country)
|
|
12564
|
-
@locality = args[:locality] if args.key?(:locality)
|
|
12565
|
-
@postal_code = args[:postal_code] if args.key?(:postal_code)
|
|
12566
|
-
@recipient_name = args[:recipient_name] if args.key?(:recipient_name)
|
|
12567
|
-
@region = args[:region] if args.key?(:region)
|
|
12568
|
-
@street_address = args[:street_address] if args.key?(:street_address)
|
|
12569
|
-
end
|
|
12570
|
-
end
|
|
12571
|
-
|
|
12572
|
-
# Return policy resource.
|
|
12573
|
-
class ReturnPolicy
|
|
12574
|
-
include Google::Apis::Core::Hashable
|
|
12575
|
-
|
|
12576
|
-
# Required. The country of sale where the return policy is applicable.
|
|
12577
|
-
# Corresponds to the JSON property `country`
|
|
12578
|
-
# @return [String]
|
|
12579
|
-
attr_accessor :country
|
|
12580
|
-
|
|
12581
|
-
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
|
12582
|
-
# returnPolicy`"
|
|
12583
|
-
# Corresponds to the JSON property `kind`
|
|
12584
|
-
# @return [String]
|
|
12585
|
-
attr_accessor :kind
|
|
12586
|
-
|
|
12587
|
-
# Required. The user-defined label of the return policy. For the default policy,
|
|
12588
|
-
# use the label "default".
|
|
12589
|
-
# Corresponds to the JSON property `label`
|
|
12590
|
-
# @return [String]
|
|
12591
|
-
attr_accessor :label
|
|
12592
|
-
|
|
12593
|
-
# Required. The name of the policy as shown in Merchant Center.
|
|
12594
|
-
# Corresponds to the JSON property `name`
|
|
12595
|
-
# @return [String]
|
|
12596
|
-
attr_accessor :name
|
|
12597
|
-
|
|
12598
|
-
# Return reasons that will incur return fees.
|
|
12599
|
-
# Corresponds to the JSON property `nonFreeReturnReasons`
|
|
12600
|
-
# @return [Array<String>]
|
|
12601
|
-
attr_accessor :non_free_return_reasons
|
|
12602
|
-
|
|
12603
|
-
# Required. The policy.
|
|
12604
|
-
# Corresponds to the JSON property `policy`
|
|
12605
|
-
# @return [Google::Apis::ContentV2_1::ReturnPolicyPolicy]
|
|
12606
|
-
attr_accessor :policy
|
|
12607
|
-
|
|
12608
|
-
# Return policy ID generated by Google.
|
|
12609
|
-
# Corresponds to the JSON property `returnPolicyId`
|
|
12610
|
-
# @return [String]
|
|
12611
|
-
attr_accessor :return_policy_id
|
|
12612
|
-
|
|
12613
|
-
# The return shipping fee that will apply to non free return reasons.
|
|
12614
|
-
# Corresponds to the JSON property `returnShippingFee`
|
|
12615
|
-
# @return [Google::Apis::ContentV2_1::Price]
|
|
12616
|
-
attr_accessor :return_shipping_fee
|
|
12617
|
-
|
|
12618
|
-
# An optional list of seasonal overrides.
|
|
12619
|
-
# Corresponds to the JSON property `seasonalOverrides`
|
|
12620
|
-
# @return [Array<Google::Apis::ContentV2_1::ReturnPolicySeasonalOverride>]
|
|
12621
|
-
attr_accessor :seasonal_overrides
|
|
12622
|
-
|
|
12623
|
-
def initialize(**args)
|
|
12624
|
-
update!(**args)
|
|
12625
|
-
end
|
|
12626
|
-
|
|
12627
|
-
# Update properties of this object
|
|
12628
|
-
def update!(**args)
|
|
12629
|
-
@country = args[:country] if args.key?(:country)
|
|
12630
|
-
@kind = args[:kind] if args.key?(:kind)
|
|
12631
|
-
@label = args[:label] if args.key?(:label)
|
|
12632
|
-
@name = args[:name] if args.key?(:name)
|
|
12633
|
-
@non_free_return_reasons = args[:non_free_return_reasons] if args.key?(:non_free_return_reasons)
|
|
12634
|
-
@policy = args[:policy] if args.key?(:policy)
|
|
12635
|
-
@return_policy_id = args[:return_policy_id] if args.key?(:return_policy_id)
|
|
12636
|
-
@return_shipping_fee = args[:return_shipping_fee] if args.key?(:return_shipping_fee)
|
|
12637
|
-
@seasonal_overrides = args[:seasonal_overrides] if args.key?(:seasonal_overrides)
|
|
12638
|
-
end
|
|
12639
|
-
end
|
|
12640
|
-
|
|
12641
12469
|
# Return policy online object. This is currently used to represent return
|
|
12642
12470
|
# policies for ads and free listings programs.
|
|
12643
12471
|
class ReturnPolicyOnline
|
|
@@ -12833,402 +12661,6 @@ module Google
|
|
|
12833
12661
|
end
|
|
12834
12662
|
end
|
|
12835
12663
|
|
|
12836
|
-
#
|
|
12837
|
-
class ReturnPolicyPolicy
|
|
12838
|
-
include Google::Apis::Core::Hashable
|
|
12839
|
-
|
|
12840
|
-
# Required. Last day for returning the items. In ISO 8601 format. When
|
|
12841
|
-
# specifying the return window like this, set the policy type to "lastReturnDate"
|
|
12842
|
-
# . Use this for seasonal overrides only.
|
|
12843
|
-
# Corresponds to the JSON property `lastReturnDate`
|
|
12844
|
-
# @return [String]
|
|
12845
|
-
attr_accessor :last_return_date
|
|
12846
|
-
|
|
12847
|
-
# The number of days items can be returned after delivery, where one day is
|
|
12848
|
-
# defined to be 24 hours after the delivery timestamp. When specifying the
|
|
12849
|
-
# return window like this, set the policy type to "numberOfDaysAfterDelivery".
|
|
12850
|
-
# Acceptable values are 30, 45, 60, 90, 100, 180, 270 and 365 for the default
|
|
12851
|
-
# policy. Additional policies further allow 14, 15, 21 and 28 days, but note
|
|
12852
|
-
# that for most items a minimum of 30 days is required for returns. Exceptions
|
|
12853
|
-
# may be made for electronics. A policy of less than 30 days can only be applied
|
|
12854
|
-
# to those items.
|
|
12855
|
-
# Corresponds to the JSON property `numberOfDays`
|
|
12856
|
-
# @return [Fixnum]
|
|
12857
|
-
attr_accessor :number_of_days
|
|
12858
|
-
|
|
12859
|
-
# Policy type. Use "lastReturnDate" for seasonal overrides only. Note that for
|
|
12860
|
-
# most items a minimum of 30 days is required for returns. Exceptions may be
|
|
12861
|
-
# made for electronics or non-returnable items such as food, perishables, and
|
|
12862
|
-
# living things. A policy of less than 30 days can only be applied to those
|
|
12863
|
-
# items. Acceptable values are: - "`lastReturnDate`" - "`lifetimeReturns`" - "`
|
|
12864
|
-
# noReturns`" - "`numberOfDaysAfterDelivery`"
|
|
12865
|
-
# Corresponds to the JSON property `type`
|
|
12866
|
-
# @return [String]
|
|
12867
|
-
attr_accessor :type
|
|
12868
|
-
|
|
12869
|
-
def initialize(**args)
|
|
12870
|
-
update!(**args)
|
|
12871
|
-
end
|
|
12872
|
-
|
|
12873
|
-
# Update properties of this object
|
|
12874
|
-
def update!(**args)
|
|
12875
|
-
@last_return_date = args[:last_return_date] if args.key?(:last_return_date)
|
|
12876
|
-
@number_of_days = args[:number_of_days] if args.key?(:number_of_days)
|
|
12877
|
-
@type = args[:type] if args.key?(:type)
|
|
12878
|
-
end
|
|
12879
|
-
end
|
|
12880
|
-
|
|
12881
|
-
#
|
|
12882
|
-
class ReturnPolicySeasonalOverride
|
|
12883
|
-
include Google::Apis::Core::Hashable
|
|
12884
|
-
|
|
12885
|
-
# Required. Last day on which the override applies. In ISO 8601 format.
|
|
12886
|
-
# Corresponds to the JSON property `endDate`
|
|
12887
|
-
# @return [String]
|
|
12888
|
-
attr_accessor :end_date
|
|
12889
|
-
|
|
12890
|
-
# Required. The name of the seasonal override as shown in Merchant Center.
|
|
12891
|
-
# Corresponds to the JSON property `name`
|
|
12892
|
-
# @return [String]
|
|
12893
|
-
attr_accessor :name
|
|
12894
|
-
|
|
12895
|
-
# Required. The policy which is in effect during that time.
|
|
12896
|
-
# Corresponds to the JSON property `policy`
|
|
12897
|
-
# @return [Google::Apis::ContentV2_1::ReturnPolicyPolicy]
|
|
12898
|
-
attr_accessor :policy
|
|
12899
|
-
|
|
12900
|
-
# Required. First day on which the override applies. In ISO 8601 format.
|
|
12901
|
-
# Corresponds to the JSON property `startDate`
|
|
12902
|
-
# @return [String]
|
|
12903
|
-
attr_accessor :start_date
|
|
12904
|
-
|
|
12905
|
-
def initialize(**args)
|
|
12906
|
-
update!(**args)
|
|
12907
|
-
end
|
|
12908
|
-
|
|
12909
|
-
# Update properties of this object
|
|
12910
|
-
def update!(**args)
|
|
12911
|
-
@end_date = args[:end_date] if args.key?(:end_date)
|
|
12912
|
-
@name = args[:name] if args.key?(:name)
|
|
12913
|
-
@policy = args[:policy] if args.key?(:policy)
|
|
12914
|
-
@start_date = args[:start_date] if args.key?(:start_date)
|
|
12915
|
-
end
|
|
12916
|
-
end
|
|
12917
|
-
|
|
12918
|
-
#
|
|
12919
|
-
class ReturnaddressCustomBatchRequest
|
|
12920
|
-
include Google::Apis::Core::Hashable
|
|
12921
|
-
|
|
12922
|
-
# The request entries to be processed in the batch.
|
|
12923
|
-
# Corresponds to the JSON property `entries`
|
|
12924
|
-
# @return [Array<Google::Apis::ContentV2_1::ReturnaddressCustomBatchRequestEntry>]
|
|
12925
|
-
attr_accessor :entries
|
|
12926
|
-
|
|
12927
|
-
def initialize(**args)
|
|
12928
|
-
update!(**args)
|
|
12929
|
-
end
|
|
12930
|
-
|
|
12931
|
-
# Update properties of this object
|
|
12932
|
-
def update!(**args)
|
|
12933
|
-
@entries = args[:entries] if args.key?(:entries)
|
|
12934
|
-
end
|
|
12935
|
-
end
|
|
12936
|
-
|
|
12937
|
-
#
|
|
12938
|
-
class ReturnaddressCustomBatchRequestEntry
|
|
12939
|
-
include Google::Apis::Core::Hashable
|
|
12940
|
-
|
|
12941
|
-
# An entry ID, unique within the batch request.
|
|
12942
|
-
# Corresponds to the JSON property `batchId`
|
|
12943
|
-
# @return [Fixnum]
|
|
12944
|
-
attr_accessor :batch_id
|
|
12945
|
-
|
|
12946
|
-
# The Merchant Center account ID.
|
|
12947
|
-
# Corresponds to the JSON property `merchantId`
|
|
12948
|
-
# @return [Fixnum]
|
|
12949
|
-
attr_accessor :merchant_id
|
|
12950
|
-
|
|
12951
|
-
# Method of the batch request entry. Acceptable values are: - "`delete`" - "`get`
|
|
12952
|
-
# " - "`insert`"
|
|
12953
|
-
# Corresponds to the JSON property `method`
|
|
12954
|
-
# @return [String]
|
|
12955
|
-
attr_accessor :method_prop
|
|
12956
|
-
|
|
12957
|
-
# Return address resource.
|
|
12958
|
-
# Corresponds to the JSON property `returnAddress`
|
|
12959
|
-
# @return [Google::Apis::ContentV2_1::ReturnAddress]
|
|
12960
|
-
attr_accessor :return_address
|
|
12961
|
-
|
|
12962
|
-
# The return address ID. This should be set only if the method is `delete` or `
|
|
12963
|
-
# get`.
|
|
12964
|
-
# Corresponds to the JSON property `returnAddressId`
|
|
12965
|
-
# @return [String]
|
|
12966
|
-
attr_accessor :return_address_id
|
|
12967
|
-
|
|
12968
|
-
def initialize(**args)
|
|
12969
|
-
update!(**args)
|
|
12970
|
-
end
|
|
12971
|
-
|
|
12972
|
-
# Update properties of this object
|
|
12973
|
-
def update!(**args)
|
|
12974
|
-
@batch_id = args[:batch_id] if args.key?(:batch_id)
|
|
12975
|
-
@merchant_id = args[:merchant_id] if args.key?(:merchant_id)
|
|
12976
|
-
@method_prop = args[:method_prop] if args.key?(:method_prop)
|
|
12977
|
-
@return_address = args[:return_address] if args.key?(:return_address)
|
|
12978
|
-
@return_address_id = args[:return_address_id] if args.key?(:return_address_id)
|
|
12979
|
-
end
|
|
12980
|
-
end
|
|
12981
|
-
|
|
12982
|
-
#
|
|
12983
|
-
class ReturnaddressCustomBatchResponse
|
|
12984
|
-
include Google::Apis::Core::Hashable
|
|
12985
|
-
|
|
12986
|
-
# The result of the execution of the batch requests.
|
|
12987
|
-
# Corresponds to the JSON property `entries`
|
|
12988
|
-
# @return [Array<Google::Apis::ContentV2_1::ReturnaddressCustomBatchResponseEntry>]
|
|
12989
|
-
attr_accessor :entries
|
|
12990
|
-
|
|
12991
|
-
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
|
12992
|
-
# returnaddressCustomBatchResponse`".
|
|
12993
|
-
# Corresponds to the JSON property `kind`
|
|
12994
|
-
# @return [String]
|
|
12995
|
-
attr_accessor :kind
|
|
12996
|
-
|
|
12997
|
-
def initialize(**args)
|
|
12998
|
-
update!(**args)
|
|
12999
|
-
end
|
|
13000
|
-
|
|
13001
|
-
# Update properties of this object
|
|
13002
|
-
def update!(**args)
|
|
13003
|
-
@entries = args[:entries] if args.key?(:entries)
|
|
13004
|
-
@kind = args[:kind] if args.key?(:kind)
|
|
13005
|
-
end
|
|
13006
|
-
end
|
|
13007
|
-
|
|
13008
|
-
#
|
|
13009
|
-
class ReturnaddressCustomBatchResponseEntry
|
|
13010
|
-
include Google::Apis::Core::Hashable
|
|
13011
|
-
|
|
13012
|
-
# The ID of the request entry to which this entry responds.
|
|
13013
|
-
# Corresponds to the JSON property `batchId`
|
|
13014
|
-
# @return [Fixnum]
|
|
13015
|
-
attr_accessor :batch_id
|
|
13016
|
-
|
|
13017
|
-
# A list of errors returned by a failed batch entry.
|
|
13018
|
-
# Corresponds to the JSON property `errors`
|
|
13019
|
-
# @return [Google::Apis::ContentV2_1::Errors]
|
|
13020
|
-
attr_accessor :errors
|
|
13021
|
-
|
|
13022
|
-
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
|
13023
|
-
# returnaddressCustomBatchResponseEntry`"
|
|
13024
|
-
# Corresponds to the JSON property `kind`
|
|
13025
|
-
# @return [String]
|
|
13026
|
-
attr_accessor :kind
|
|
13027
|
-
|
|
13028
|
-
# Return address resource.
|
|
13029
|
-
# Corresponds to the JSON property `returnAddress`
|
|
13030
|
-
# @return [Google::Apis::ContentV2_1::ReturnAddress]
|
|
13031
|
-
attr_accessor :return_address
|
|
13032
|
-
|
|
13033
|
-
def initialize(**args)
|
|
13034
|
-
update!(**args)
|
|
13035
|
-
end
|
|
13036
|
-
|
|
13037
|
-
# Update properties of this object
|
|
13038
|
-
def update!(**args)
|
|
13039
|
-
@batch_id = args[:batch_id] if args.key?(:batch_id)
|
|
13040
|
-
@errors = args[:errors] if args.key?(:errors)
|
|
13041
|
-
@kind = args[:kind] if args.key?(:kind)
|
|
13042
|
-
@return_address = args[:return_address] if args.key?(:return_address)
|
|
13043
|
-
end
|
|
13044
|
-
end
|
|
13045
|
-
|
|
13046
|
-
#
|
|
13047
|
-
class ReturnaddressListResponse
|
|
13048
|
-
include Google::Apis::Core::Hashable
|
|
13049
|
-
|
|
13050
|
-
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
|
13051
|
-
# returnaddressListResponse`".
|
|
13052
|
-
# Corresponds to the JSON property `kind`
|
|
13053
|
-
# @return [String]
|
|
13054
|
-
attr_accessor :kind
|
|
13055
|
-
|
|
13056
|
-
# The token for the retrieval of the next page of addresses.
|
|
13057
|
-
# Corresponds to the JSON property `nextPageToken`
|
|
13058
|
-
# @return [String]
|
|
13059
|
-
attr_accessor :next_page_token
|
|
13060
|
-
|
|
13061
|
-
#
|
|
13062
|
-
# Corresponds to the JSON property `resources`
|
|
13063
|
-
# @return [Array<Google::Apis::ContentV2_1::ReturnAddress>]
|
|
13064
|
-
attr_accessor :resources
|
|
13065
|
-
|
|
13066
|
-
def initialize(**args)
|
|
13067
|
-
update!(**args)
|
|
13068
|
-
end
|
|
13069
|
-
|
|
13070
|
-
# Update properties of this object
|
|
13071
|
-
def update!(**args)
|
|
13072
|
-
@kind = args[:kind] if args.key?(:kind)
|
|
13073
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
13074
|
-
@resources = args[:resources] if args.key?(:resources)
|
|
13075
|
-
end
|
|
13076
|
-
end
|
|
13077
|
-
|
|
13078
|
-
#
|
|
13079
|
-
class ReturnpolicyCustomBatchRequest
|
|
13080
|
-
include Google::Apis::Core::Hashable
|
|
13081
|
-
|
|
13082
|
-
# The request entries to be processed in the batch.
|
|
13083
|
-
# Corresponds to the JSON property `entries`
|
|
13084
|
-
# @return [Array<Google::Apis::ContentV2_1::ReturnpolicyCustomBatchRequestEntry>]
|
|
13085
|
-
attr_accessor :entries
|
|
13086
|
-
|
|
13087
|
-
def initialize(**args)
|
|
13088
|
-
update!(**args)
|
|
13089
|
-
end
|
|
13090
|
-
|
|
13091
|
-
# Update properties of this object
|
|
13092
|
-
def update!(**args)
|
|
13093
|
-
@entries = args[:entries] if args.key?(:entries)
|
|
13094
|
-
end
|
|
13095
|
-
end
|
|
13096
|
-
|
|
13097
|
-
#
|
|
13098
|
-
class ReturnpolicyCustomBatchRequestEntry
|
|
13099
|
-
include Google::Apis::Core::Hashable
|
|
13100
|
-
|
|
13101
|
-
# An entry ID, unique within the batch request.
|
|
13102
|
-
# Corresponds to the JSON property `batchId`
|
|
13103
|
-
# @return [Fixnum]
|
|
13104
|
-
attr_accessor :batch_id
|
|
13105
|
-
|
|
13106
|
-
# The Merchant Center account ID.
|
|
13107
|
-
# Corresponds to the JSON property `merchantId`
|
|
13108
|
-
# @return [Fixnum]
|
|
13109
|
-
attr_accessor :merchant_id
|
|
13110
|
-
|
|
13111
|
-
# Method of the batch request entry. Acceptable values are: - "`delete`" - "`get`
|
|
13112
|
-
# " - "`insert`"
|
|
13113
|
-
# Corresponds to the JSON property `method`
|
|
13114
|
-
# @return [String]
|
|
13115
|
-
attr_accessor :method_prop
|
|
13116
|
-
|
|
13117
|
-
# Return policy resource.
|
|
13118
|
-
# Corresponds to the JSON property `returnPolicy`
|
|
13119
|
-
# @return [Google::Apis::ContentV2_1::ReturnPolicy]
|
|
13120
|
-
attr_accessor :return_policy
|
|
13121
|
-
|
|
13122
|
-
# The return policy ID. This should be set only if the method is `delete` or `
|
|
13123
|
-
# get`.
|
|
13124
|
-
# Corresponds to the JSON property `returnPolicyId`
|
|
13125
|
-
# @return [String]
|
|
13126
|
-
attr_accessor :return_policy_id
|
|
13127
|
-
|
|
13128
|
-
def initialize(**args)
|
|
13129
|
-
update!(**args)
|
|
13130
|
-
end
|
|
13131
|
-
|
|
13132
|
-
# Update properties of this object
|
|
13133
|
-
def update!(**args)
|
|
13134
|
-
@batch_id = args[:batch_id] if args.key?(:batch_id)
|
|
13135
|
-
@merchant_id = args[:merchant_id] if args.key?(:merchant_id)
|
|
13136
|
-
@method_prop = args[:method_prop] if args.key?(:method_prop)
|
|
13137
|
-
@return_policy = args[:return_policy] if args.key?(:return_policy)
|
|
13138
|
-
@return_policy_id = args[:return_policy_id] if args.key?(:return_policy_id)
|
|
13139
|
-
end
|
|
13140
|
-
end
|
|
13141
|
-
|
|
13142
|
-
#
|
|
13143
|
-
class ReturnpolicyCustomBatchResponse
|
|
13144
|
-
include Google::Apis::Core::Hashable
|
|
13145
|
-
|
|
13146
|
-
# The result of the execution of the batch requests.
|
|
13147
|
-
# Corresponds to the JSON property `entries`
|
|
13148
|
-
# @return [Array<Google::Apis::ContentV2_1::ReturnpolicyCustomBatchResponseEntry>]
|
|
13149
|
-
attr_accessor :entries
|
|
13150
|
-
|
|
13151
|
-
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
|
13152
|
-
# returnpolicyCustomBatchResponse`".
|
|
13153
|
-
# Corresponds to the JSON property `kind`
|
|
13154
|
-
# @return [String]
|
|
13155
|
-
attr_accessor :kind
|
|
13156
|
-
|
|
13157
|
-
def initialize(**args)
|
|
13158
|
-
update!(**args)
|
|
13159
|
-
end
|
|
13160
|
-
|
|
13161
|
-
# Update properties of this object
|
|
13162
|
-
def update!(**args)
|
|
13163
|
-
@entries = args[:entries] if args.key?(:entries)
|
|
13164
|
-
@kind = args[:kind] if args.key?(:kind)
|
|
13165
|
-
end
|
|
13166
|
-
end
|
|
13167
|
-
|
|
13168
|
-
#
|
|
13169
|
-
class ReturnpolicyCustomBatchResponseEntry
|
|
13170
|
-
include Google::Apis::Core::Hashable
|
|
13171
|
-
|
|
13172
|
-
# The ID of the request entry to which this entry responds.
|
|
13173
|
-
# Corresponds to the JSON property `batchId`
|
|
13174
|
-
# @return [Fixnum]
|
|
13175
|
-
attr_accessor :batch_id
|
|
13176
|
-
|
|
13177
|
-
# A list of errors returned by a failed batch entry.
|
|
13178
|
-
# Corresponds to the JSON property `errors`
|
|
13179
|
-
# @return [Google::Apis::ContentV2_1::Errors]
|
|
13180
|
-
attr_accessor :errors
|
|
13181
|
-
|
|
13182
|
-
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
|
13183
|
-
# returnpolicyCustomBatchResponseEntry`"
|
|
13184
|
-
# Corresponds to the JSON property `kind`
|
|
13185
|
-
# @return [String]
|
|
13186
|
-
attr_accessor :kind
|
|
13187
|
-
|
|
13188
|
-
# Return policy resource.
|
|
13189
|
-
# Corresponds to the JSON property `returnPolicy`
|
|
13190
|
-
# @return [Google::Apis::ContentV2_1::ReturnPolicy]
|
|
13191
|
-
attr_accessor :return_policy
|
|
13192
|
-
|
|
13193
|
-
def initialize(**args)
|
|
13194
|
-
update!(**args)
|
|
13195
|
-
end
|
|
13196
|
-
|
|
13197
|
-
# Update properties of this object
|
|
13198
|
-
def update!(**args)
|
|
13199
|
-
@batch_id = args[:batch_id] if args.key?(:batch_id)
|
|
13200
|
-
@errors = args[:errors] if args.key?(:errors)
|
|
13201
|
-
@kind = args[:kind] if args.key?(:kind)
|
|
13202
|
-
@return_policy = args[:return_policy] if args.key?(:return_policy)
|
|
13203
|
-
end
|
|
13204
|
-
end
|
|
13205
|
-
|
|
13206
|
-
#
|
|
13207
|
-
class ReturnpolicyListResponse
|
|
13208
|
-
include Google::Apis::Core::Hashable
|
|
13209
|
-
|
|
13210
|
-
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
|
13211
|
-
# returnpolicyListResponse`".
|
|
13212
|
-
# Corresponds to the JSON property `kind`
|
|
13213
|
-
# @return [String]
|
|
13214
|
-
attr_accessor :kind
|
|
13215
|
-
|
|
13216
|
-
#
|
|
13217
|
-
# Corresponds to the JSON property `resources`
|
|
13218
|
-
# @return [Array<Google::Apis::ContentV2_1::ReturnPolicy>]
|
|
13219
|
-
attr_accessor :resources
|
|
13220
|
-
|
|
13221
|
-
def initialize(**args)
|
|
13222
|
-
update!(**args)
|
|
13223
|
-
end
|
|
13224
|
-
|
|
13225
|
-
# Update properties of this object
|
|
13226
|
-
def update!(**args)
|
|
13227
|
-
@kind = args[:kind] if args.key?(:kind)
|
|
13228
|
-
@resources = args[:resources] if args.key?(:resources)
|
|
13229
|
-
end
|
|
13230
|
-
end
|
|
13231
|
-
|
|
13232
12664
|
#
|
|
13233
12665
|
class Row
|
|
13234
12666
|
include Google::Apis::Core::Hashable
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module ContentV2_1
|
|
18
18
|
# Version of the google-apis-content_v2_1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.47.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20251112"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -1660,24 +1660,6 @@ module Google
|
|
|
1660
1660
|
include Google::Apis::Core::JsonObjectSupport
|
|
1661
1661
|
end
|
|
1662
1662
|
|
|
1663
|
-
class ReturnAddress
|
|
1664
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1665
|
-
|
|
1666
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
1667
|
-
end
|
|
1668
|
-
|
|
1669
|
-
class ReturnAddressAddress
|
|
1670
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1671
|
-
|
|
1672
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
1673
|
-
end
|
|
1674
|
-
|
|
1675
|
-
class ReturnPolicy
|
|
1676
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1677
|
-
|
|
1678
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
1679
|
-
end
|
|
1680
|
-
|
|
1681
1663
|
class ReturnPolicyOnline
|
|
1682
1664
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1683
1665
|
|
|
@@ -1708,78 +1690,6 @@ module Google
|
|
|
1708
1690
|
include Google::Apis::Core::JsonObjectSupport
|
|
1709
1691
|
end
|
|
1710
1692
|
|
|
1711
|
-
class ReturnPolicyPolicy
|
|
1712
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1713
|
-
|
|
1714
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
1715
|
-
end
|
|
1716
|
-
|
|
1717
|
-
class ReturnPolicySeasonalOverride
|
|
1718
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1719
|
-
|
|
1720
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
1721
|
-
end
|
|
1722
|
-
|
|
1723
|
-
class ReturnaddressCustomBatchRequest
|
|
1724
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1725
|
-
|
|
1726
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
1727
|
-
end
|
|
1728
|
-
|
|
1729
|
-
class ReturnaddressCustomBatchRequestEntry
|
|
1730
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1731
|
-
|
|
1732
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
1733
|
-
end
|
|
1734
|
-
|
|
1735
|
-
class ReturnaddressCustomBatchResponse
|
|
1736
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1737
|
-
|
|
1738
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
1739
|
-
end
|
|
1740
|
-
|
|
1741
|
-
class ReturnaddressCustomBatchResponseEntry
|
|
1742
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1743
|
-
|
|
1744
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
1745
|
-
end
|
|
1746
|
-
|
|
1747
|
-
class ReturnaddressListResponse
|
|
1748
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1749
|
-
|
|
1750
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
1751
|
-
end
|
|
1752
|
-
|
|
1753
|
-
class ReturnpolicyCustomBatchRequest
|
|
1754
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1755
|
-
|
|
1756
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
1757
|
-
end
|
|
1758
|
-
|
|
1759
|
-
class ReturnpolicyCustomBatchRequestEntry
|
|
1760
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1761
|
-
|
|
1762
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
1763
|
-
end
|
|
1764
|
-
|
|
1765
|
-
class ReturnpolicyCustomBatchResponse
|
|
1766
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1767
|
-
|
|
1768
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
1769
|
-
end
|
|
1770
|
-
|
|
1771
|
-
class ReturnpolicyCustomBatchResponseEntry
|
|
1772
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1773
|
-
|
|
1774
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
1775
|
-
end
|
|
1776
|
-
|
|
1777
|
-
class ReturnpolicyListResponse
|
|
1778
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1779
|
-
|
|
1780
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
1781
|
-
end
|
|
1782
|
-
|
|
1783
1693
|
class Row
|
|
1784
1694
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1785
1695
|
|
|
@@ -5180,49 +5090,6 @@ module Google
|
|
|
5180
5090
|
end
|
|
5181
5091
|
end
|
|
5182
5092
|
|
|
5183
|
-
class ReturnAddress
|
|
5184
|
-
# @private
|
|
5185
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
5186
|
-
property :address, as: 'address', class: Google::Apis::ContentV2_1::ReturnAddressAddress, decorator: Google::Apis::ContentV2_1::ReturnAddressAddress::Representation
|
|
5187
|
-
|
|
5188
|
-
property :country, as: 'country'
|
|
5189
|
-
property :kind, as: 'kind'
|
|
5190
|
-
property :label, as: 'label'
|
|
5191
|
-
property :phone_number, as: 'phoneNumber'
|
|
5192
|
-
property :return_address_id, as: 'returnAddressId'
|
|
5193
|
-
end
|
|
5194
|
-
end
|
|
5195
|
-
|
|
5196
|
-
class ReturnAddressAddress
|
|
5197
|
-
# @private
|
|
5198
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
5199
|
-
property :country, as: 'country'
|
|
5200
|
-
property :locality, as: 'locality'
|
|
5201
|
-
property :postal_code, as: 'postalCode'
|
|
5202
|
-
property :recipient_name, as: 'recipientName'
|
|
5203
|
-
property :region, as: 'region'
|
|
5204
|
-
collection :street_address, as: 'streetAddress'
|
|
5205
|
-
end
|
|
5206
|
-
end
|
|
5207
|
-
|
|
5208
|
-
class ReturnPolicy
|
|
5209
|
-
# @private
|
|
5210
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
5211
|
-
property :country, as: 'country'
|
|
5212
|
-
property :kind, as: 'kind'
|
|
5213
|
-
property :label, as: 'label'
|
|
5214
|
-
property :name, as: 'name'
|
|
5215
|
-
collection :non_free_return_reasons, as: 'nonFreeReturnReasons'
|
|
5216
|
-
property :policy, as: 'policy', class: Google::Apis::ContentV2_1::ReturnPolicyPolicy, decorator: Google::Apis::ContentV2_1::ReturnPolicyPolicy::Representation
|
|
5217
|
-
|
|
5218
|
-
property :return_policy_id, as: 'returnPolicyId'
|
|
5219
|
-
property :return_shipping_fee, as: 'returnShippingFee', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
5220
|
-
|
|
5221
|
-
collection :seasonal_overrides, as: 'seasonalOverrides', class: Google::Apis::ContentV2_1::ReturnPolicySeasonalOverride, decorator: Google::Apis::ContentV2_1::ReturnPolicySeasonalOverride::Representation
|
|
5222
|
-
|
|
5223
|
-
end
|
|
5224
|
-
end
|
|
5225
|
-
|
|
5226
5093
|
class ReturnPolicyOnline
|
|
5227
5094
|
# @private
|
|
5228
5095
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -5278,127 +5145,6 @@ module Google
|
|
|
5278
5145
|
end
|
|
5279
5146
|
end
|
|
5280
5147
|
|
|
5281
|
-
class ReturnPolicyPolicy
|
|
5282
|
-
# @private
|
|
5283
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
5284
|
-
property :last_return_date, as: 'lastReturnDate'
|
|
5285
|
-
property :number_of_days, :numeric_string => true, as: 'numberOfDays'
|
|
5286
|
-
property :type, as: 'type'
|
|
5287
|
-
end
|
|
5288
|
-
end
|
|
5289
|
-
|
|
5290
|
-
class ReturnPolicySeasonalOverride
|
|
5291
|
-
# @private
|
|
5292
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
5293
|
-
property :end_date, as: 'endDate'
|
|
5294
|
-
property :name, as: 'name'
|
|
5295
|
-
property :policy, as: 'policy', class: Google::Apis::ContentV2_1::ReturnPolicyPolicy, decorator: Google::Apis::ContentV2_1::ReturnPolicyPolicy::Representation
|
|
5296
|
-
|
|
5297
|
-
property :start_date, as: 'startDate'
|
|
5298
|
-
end
|
|
5299
|
-
end
|
|
5300
|
-
|
|
5301
|
-
class ReturnaddressCustomBatchRequest
|
|
5302
|
-
# @private
|
|
5303
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
5304
|
-
collection :entries, as: 'entries', class: Google::Apis::ContentV2_1::ReturnaddressCustomBatchRequestEntry, decorator: Google::Apis::ContentV2_1::ReturnaddressCustomBatchRequestEntry::Representation
|
|
5305
|
-
|
|
5306
|
-
end
|
|
5307
|
-
end
|
|
5308
|
-
|
|
5309
|
-
class ReturnaddressCustomBatchRequestEntry
|
|
5310
|
-
# @private
|
|
5311
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
5312
|
-
property :batch_id, as: 'batchId'
|
|
5313
|
-
property :merchant_id, :numeric_string => true, as: 'merchantId'
|
|
5314
|
-
property :method_prop, as: 'method'
|
|
5315
|
-
property :return_address, as: 'returnAddress', class: Google::Apis::ContentV2_1::ReturnAddress, decorator: Google::Apis::ContentV2_1::ReturnAddress::Representation
|
|
5316
|
-
|
|
5317
|
-
property :return_address_id, as: 'returnAddressId'
|
|
5318
|
-
end
|
|
5319
|
-
end
|
|
5320
|
-
|
|
5321
|
-
class ReturnaddressCustomBatchResponse
|
|
5322
|
-
# @private
|
|
5323
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
5324
|
-
collection :entries, as: 'entries', class: Google::Apis::ContentV2_1::ReturnaddressCustomBatchResponseEntry, decorator: Google::Apis::ContentV2_1::ReturnaddressCustomBatchResponseEntry::Representation
|
|
5325
|
-
|
|
5326
|
-
property :kind, as: 'kind'
|
|
5327
|
-
end
|
|
5328
|
-
end
|
|
5329
|
-
|
|
5330
|
-
class ReturnaddressCustomBatchResponseEntry
|
|
5331
|
-
# @private
|
|
5332
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
5333
|
-
property :batch_id, as: 'batchId'
|
|
5334
|
-
property :errors, as: 'errors', class: Google::Apis::ContentV2_1::Errors, decorator: Google::Apis::ContentV2_1::Errors::Representation
|
|
5335
|
-
|
|
5336
|
-
property :kind, as: 'kind'
|
|
5337
|
-
property :return_address, as: 'returnAddress', class: Google::Apis::ContentV2_1::ReturnAddress, decorator: Google::Apis::ContentV2_1::ReturnAddress::Representation
|
|
5338
|
-
|
|
5339
|
-
end
|
|
5340
|
-
end
|
|
5341
|
-
|
|
5342
|
-
class ReturnaddressListResponse
|
|
5343
|
-
# @private
|
|
5344
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
5345
|
-
property :kind, as: 'kind'
|
|
5346
|
-
property :next_page_token, as: 'nextPageToken'
|
|
5347
|
-
collection :resources, as: 'resources', class: Google::Apis::ContentV2_1::ReturnAddress, decorator: Google::Apis::ContentV2_1::ReturnAddress::Representation
|
|
5348
|
-
|
|
5349
|
-
end
|
|
5350
|
-
end
|
|
5351
|
-
|
|
5352
|
-
class ReturnpolicyCustomBatchRequest
|
|
5353
|
-
# @private
|
|
5354
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
5355
|
-
collection :entries, as: 'entries', class: Google::Apis::ContentV2_1::ReturnpolicyCustomBatchRequestEntry, decorator: Google::Apis::ContentV2_1::ReturnpolicyCustomBatchRequestEntry::Representation
|
|
5356
|
-
|
|
5357
|
-
end
|
|
5358
|
-
end
|
|
5359
|
-
|
|
5360
|
-
class ReturnpolicyCustomBatchRequestEntry
|
|
5361
|
-
# @private
|
|
5362
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
5363
|
-
property :batch_id, as: 'batchId'
|
|
5364
|
-
property :merchant_id, :numeric_string => true, as: 'merchantId'
|
|
5365
|
-
property :method_prop, as: 'method'
|
|
5366
|
-
property :return_policy, as: 'returnPolicy', class: Google::Apis::ContentV2_1::ReturnPolicy, decorator: Google::Apis::ContentV2_1::ReturnPolicy::Representation
|
|
5367
|
-
|
|
5368
|
-
property :return_policy_id, as: 'returnPolicyId'
|
|
5369
|
-
end
|
|
5370
|
-
end
|
|
5371
|
-
|
|
5372
|
-
class ReturnpolicyCustomBatchResponse
|
|
5373
|
-
# @private
|
|
5374
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
5375
|
-
collection :entries, as: 'entries', class: Google::Apis::ContentV2_1::ReturnpolicyCustomBatchResponseEntry, decorator: Google::Apis::ContentV2_1::ReturnpolicyCustomBatchResponseEntry::Representation
|
|
5376
|
-
|
|
5377
|
-
property :kind, as: 'kind'
|
|
5378
|
-
end
|
|
5379
|
-
end
|
|
5380
|
-
|
|
5381
|
-
class ReturnpolicyCustomBatchResponseEntry
|
|
5382
|
-
# @private
|
|
5383
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
5384
|
-
property :batch_id, as: 'batchId'
|
|
5385
|
-
property :errors, as: 'errors', class: Google::Apis::ContentV2_1::Errors, decorator: Google::Apis::ContentV2_1::Errors::Representation
|
|
5386
|
-
|
|
5387
|
-
property :kind, as: 'kind'
|
|
5388
|
-
property :return_policy, as: 'returnPolicy', class: Google::Apis::ContentV2_1::ReturnPolicy, decorator: Google::Apis::ContentV2_1::ReturnPolicy::Representation
|
|
5389
|
-
|
|
5390
|
-
end
|
|
5391
|
-
end
|
|
5392
|
-
|
|
5393
|
-
class ReturnpolicyListResponse
|
|
5394
|
-
# @private
|
|
5395
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
5396
|
-
property :kind, as: 'kind'
|
|
5397
|
-
collection :resources, as: 'resources', class: Google::Apis::ContentV2_1::ReturnPolicy, decorator: Google::Apis::ContentV2_1::ReturnPolicy::Representation
|
|
5398
|
-
|
|
5399
|
-
end
|
|
5400
|
-
end
|
|
5401
|
-
|
|
5402
5148
|
class Row
|
|
5403
5149
|
# @private
|
|
5404
5150
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -4097,330 +4097,6 @@ module Google
|
|
|
4097
4097
|
execute_or_queue_command(command, &block)
|
|
4098
4098
|
end
|
|
4099
4099
|
|
|
4100
|
-
# Batches multiple return address related calls in a single request.
|
|
4101
|
-
# @param [Google::Apis::ContentV2_1::ReturnaddressCustomBatchRequest] returnaddress_custom_batch_request_object
|
|
4102
|
-
# @param [String] fields
|
|
4103
|
-
# Selector specifying which fields to include in a partial response.
|
|
4104
|
-
# @param [String] quota_user
|
|
4105
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
4106
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
4107
|
-
# @param [Google::Apis::RequestOptions] options
|
|
4108
|
-
# Request-specific options
|
|
4109
|
-
#
|
|
4110
|
-
# @yield [result, err] Result & error if block supplied
|
|
4111
|
-
# @yieldparam result [Google::Apis::ContentV2_1::ReturnaddressCustomBatchResponse] parsed result object
|
|
4112
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
4113
|
-
#
|
|
4114
|
-
# @return [Google::Apis::ContentV2_1::ReturnaddressCustomBatchResponse]
|
|
4115
|
-
#
|
|
4116
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4117
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4118
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4119
|
-
def custombatch_returnaddress(returnaddress_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4120
|
-
command = make_simple_command(:post, 'returnaddress/batch', options)
|
|
4121
|
-
command.request_representation = Google::Apis::ContentV2_1::ReturnaddressCustomBatchRequest::Representation
|
|
4122
|
-
command.request_object = returnaddress_custom_batch_request_object
|
|
4123
|
-
command.response_representation = Google::Apis::ContentV2_1::ReturnaddressCustomBatchResponse::Representation
|
|
4124
|
-
command.response_class = Google::Apis::ContentV2_1::ReturnaddressCustomBatchResponse
|
|
4125
|
-
command.query['fields'] = fields unless fields.nil?
|
|
4126
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4127
|
-
execute_or_queue_command(command, &block)
|
|
4128
|
-
end
|
|
4129
|
-
|
|
4130
|
-
# Deletes a return address for the given Merchant Center account.
|
|
4131
|
-
# @param [Fixnum] merchant_id
|
|
4132
|
-
# The Merchant Center account from which to delete the given return address.
|
|
4133
|
-
# @param [String] return_address_id
|
|
4134
|
-
# Return address ID generated by Google.
|
|
4135
|
-
# @param [String] fields
|
|
4136
|
-
# Selector specifying which fields to include in a partial response.
|
|
4137
|
-
# @param [String] quota_user
|
|
4138
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
4139
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
4140
|
-
# @param [Google::Apis::RequestOptions] options
|
|
4141
|
-
# Request-specific options
|
|
4142
|
-
#
|
|
4143
|
-
# @yield [result, err] Result & error if block supplied
|
|
4144
|
-
# @yieldparam result [NilClass] No result returned for this method
|
|
4145
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
4146
|
-
#
|
|
4147
|
-
# @return [void]
|
|
4148
|
-
#
|
|
4149
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4150
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4151
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4152
|
-
def delete_returnaddress(merchant_id, return_address_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
4153
|
-
command = make_simple_command(:delete, '{merchantId}/returnaddress/{returnAddressId}', options)
|
|
4154
|
-
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
4155
|
-
command.params['returnAddressId'] = return_address_id unless return_address_id.nil?
|
|
4156
|
-
command.query['fields'] = fields unless fields.nil?
|
|
4157
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4158
|
-
execute_or_queue_command(command, &block)
|
|
4159
|
-
end
|
|
4160
|
-
|
|
4161
|
-
# Gets a return address of the Merchant Center account.
|
|
4162
|
-
# @param [Fixnum] merchant_id
|
|
4163
|
-
# The Merchant Center account to get a return address for.
|
|
4164
|
-
# @param [String] return_address_id
|
|
4165
|
-
# Return address ID generated by Google.
|
|
4166
|
-
# @param [String] fields
|
|
4167
|
-
# Selector specifying which fields to include in a partial response.
|
|
4168
|
-
# @param [String] quota_user
|
|
4169
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
4170
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
4171
|
-
# @param [Google::Apis::RequestOptions] options
|
|
4172
|
-
# Request-specific options
|
|
4173
|
-
#
|
|
4174
|
-
# @yield [result, err] Result & error if block supplied
|
|
4175
|
-
# @yieldparam result [Google::Apis::ContentV2_1::ReturnAddress] parsed result object
|
|
4176
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
4177
|
-
#
|
|
4178
|
-
# @return [Google::Apis::ContentV2_1::ReturnAddress]
|
|
4179
|
-
#
|
|
4180
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4181
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4182
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4183
|
-
def get_returnaddress(merchant_id, return_address_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
4184
|
-
command = make_simple_command(:get, '{merchantId}/returnaddress/{returnAddressId}', options)
|
|
4185
|
-
command.response_representation = Google::Apis::ContentV2_1::ReturnAddress::Representation
|
|
4186
|
-
command.response_class = Google::Apis::ContentV2_1::ReturnAddress
|
|
4187
|
-
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
4188
|
-
command.params['returnAddressId'] = return_address_id unless return_address_id.nil?
|
|
4189
|
-
command.query['fields'] = fields unless fields.nil?
|
|
4190
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4191
|
-
execute_or_queue_command(command, &block)
|
|
4192
|
-
end
|
|
4193
|
-
|
|
4194
|
-
# Inserts a return address for the Merchant Center account.
|
|
4195
|
-
# @param [Fixnum] merchant_id
|
|
4196
|
-
# The Merchant Center account to insert a return address for.
|
|
4197
|
-
# @param [Google::Apis::ContentV2_1::ReturnAddress] return_address_object
|
|
4198
|
-
# @param [String] fields
|
|
4199
|
-
# Selector specifying which fields to include in a partial response.
|
|
4200
|
-
# @param [String] quota_user
|
|
4201
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
4202
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
4203
|
-
# @param [Google::Apis::RequestOptions] options
|
|
4204
|
-
# Request-specific options
|
|
4205
|
-
#
|
|
4206
|
-
# @yield [result, err] Result & error if block supplied
|
|
4207
|
-
# @yieldparam result [Google::Apis::ContentV2_1::ReturnAddress] parsed result object
|
|
4208
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
4209
|
-
#
|
|
4210
|
-
# @return [Google::Apis::ContentV2_1::ReturnAddress]
|
|
4211
|
-
#
|
|
4212
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4213
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4214
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4215
|
-
def insert_returnaddress(merchant_id, return_address_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4216
|
-
command = make_simple_command(:post, '{merchantId}/returnaddress', options)
|
|
4217
|
-
command.request_representation = Google::Apis::ContentV2_1::ReturnAddress::Representation
|
|
4218
|
-
command.request_object = return_address_object
|
|
4219
|
-
command.response_representation = Google::Apis::ContentV2_1::ReturnAddress::Representation
|
|
4220
|
-
command.response_class = Google::Apis::ContentV2_1::ReturnAddress
|
|
4221
|
-
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
4222
|
-
command.query['fields'] = fields unless fields.nil?
|
|
4223
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4224
|
-
execute_or_queue_command(command, &block)
|
|
4225
|
-
end
|
|
4226
|
-
|
|
4227
|
-
# Lists the return addresses of the Merchant Center account.
|
|
4228
|
-
# @param [Fixnum] merchant_id
|
|
4229
|
-
# The Merchant Center account to list return addresses for.
|
|
4230
|
-
# @param [String] country
|
|
4231
|
-
# List only return addresses applicable to the given country of sale. When
|
|
4232
|
-
# omitted, all return addresses are listed.
|
|
4233
|
-
# @param [Fixnum] max_results
|
|
4234
|
-
# The maximum number of addresses in the response, used for paging.
|
|
4235
|
-
# @param [String] page_token
|
|
4236
|
-
# The token returned by the previous request.
|
|
4237
|
-
# @param [String] fields
|
|
4238
|
-
# Selector specifying which fields to include in a partial response.
|
|
4239
|
-
# @param [String] quota_user
|
|
4240
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
4241
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
4242
|
-
# @param [Google::Apis::RequestOptions] options
|
|
4243
|
-
# Request-specific options
|
|
4244
|
-
#
|
|
4245
|
-
# @yield [result, err] Result & error if block supplied
|
|
4246
|
-
# @yieldparam result [Google::Apis::ContentV2_1::ReturnaddressListResponse] parsed result object
|
|
4247
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
4248
|
-
#
|
|
4249
|
-
# @return [Google::Apis::ContentV2_1::ReturnaddressListResponse]
|
|
4250
|
-
#
|
|
4251
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4252
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4253
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4254
|
-
def list_returnaddresses(merchant_id, country: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4255
|
-
command = make_simple_command(:get, '{merchantId}/returnaddress', options)
|
|
4256
|
-
command.response_representation = Google::Apis::ContentV2_1::ReturnaddressListResponse::Representation
|
|
4257
|
-
command.response_class = Google::Apis::ContentV2_1::ReturnaddressListResponse
|
|
4258
|
-
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
4259
|
-
command.query['country'] = country unless country.nil?
|
|
4260
|
-
command.query['maxResults'] = max_results unless max_results.nil?
|
|
4261
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
|
4262
|
-
command.query['fields'] = fields unless fields.nil?
|
|
4263
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4264
|
-
execute_or_queue_command(command, &block)
|
|
4265
|
-
end
|
|
4266
|
-
|
|
4267
|
-
# Batches multiple return policy related calls in a single request.
|
|
4268
|
-
# @param [Google::Apis::ContentV2_1::ReturnpolicyCustomBatchRequest] returnpolicy_custom_batch_request_object
|
|
4269
|
-
# @param [String] fields
|
|
4270
|
-
# Selector specifying which fields to include in a partial response.
|
|
4271
|
-
# @param [String] quota_user
|
|
4272
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
4273
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
4274
|
-
# @param [Google::Apis::RequestOptions] options
|
|
4275
|
-
# Request-specific options
|
|
4276
|
-
#
|
|
4277
|
-
# @yield [result, err] Result & error if block supplied
|
|
4278
|
-
# @yieldparam result [Google::Apis::ContentV2_1::ReturnpolicyCustomBatchResponse] parsed result object
|
|
4279
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
4280
|
-
#
|
|
4281
|
-
# @return [Google::Apis::ContentV2_1::ReturnpolicyCustomBatchResponse]
|
|
4282
|
-
#
|
|
4283
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4284
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4285
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4286
|
-
def custombatch_returnpolicy(returnpolicy_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4287
|
-
command = make_simple_command(:post, 'returnpolicy/batch', options)
|
|
4288
|
-
command.request_representation = Google::Apis::ContentV2_1::ReturnpolicyCustomBatchRequest::Representation
|
|
4289
|
-
command.request_object = returnpolicy_custom_batch_request_object
|
|
4290
|
-
command.response_representation = Google::Apis::ContentV2_1::ReturnpolicyCustomBatchResponse::Representation
|
|
4291
|
-
command.response_class = Google::Apis::ContentV2_1::ReturnpolicyCustomBatchResponse
|
|
4292
|
-
command.query['fields'] = fields unless fields.nil?
|
|
4293
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4294
|
-
execute_or_queue_command(command, &block)
|
|
4295
|
-
end
|
|
4296
|
-
|
|
4297
|
-
# Deletes a return policy for the given Merchant Center account.
|
|
4298
|
-
# @param [Fixnum] merchant_id
|
|
4299
|
-
# The Merchant Center account from which to delete the given return policy.
|
|
4300
|
-
# @param [String] return_policy_id
|
|
4301
|
-
# Return policy ID generated by Google.
|
|
4302
|
-
# @param [String] fields
|
|
4303
|
-
# Selector specifying which fields to include in a partial response.
|
|
4304
|
-
# @param [String] quota_user
|
|
4305
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
4306
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
4307
|
-
# @param [Google::Apis::RequestOptions] options
|
|
4308
|
-
# Request-specific options
|
|
4309
|
-
#
|
|
4310
|
-
# @yield [result, err] Result & error if block supplied
|
|
4311
|
-
# @yieldparam result [NilClass] No result returned for this method
|
|
4312
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
4313
|
-
#
|
|
4314
|
-
# @return [void]
|
|
4315
|
-
#
|
|
4316
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4317
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4318
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4319
|
-
def delete_returnpolicy(merchant_id, return_policy_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
4320
|
-
command = make_simple_command(:delete, '{merchantId}/returnpolicy/{returnPolicyId}', options)
|
|
4321
|
-
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
4322
|
-
command.params['returnPolicyId'] = return_policy_id unless return_policy_id.nil?
|
|
4323
|
-
command.query['fields'] = fields unless fields.nil?
|
|
4324
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4325
|
-
execute_or_queue_command(command, &block)
|
|
4326
|
-
end
|
|
4327
|
-
|
|
4328
|
-
# Gets a return policy of the Merchant Center account.
|
|
4329
|
-
# @param [Fixnum] merchant_id
|
|
4330
|
-
# The Merchant Center account to get a return policy for.
|
|
4331
|
-
# @param [String] return_policy_id
|
|
4332
|
-
# Return policy ID generated by Google.
|
|
4333
|
-
# @param [String] fields
|
|
4334
|
-
# Selector specifying which fields to include in a partial response.
|
|
4335
|
-
# @param [String] quota_user
|
|
4336
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
4337
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
4338
|
-
# @param [Google::Apis::RequestOptions] options
|
|
4339
|
-
# Request-specific options
|
|
4340
|
-
#
|
|
4341
|
-
# @yield [result, err] Result & error if block supplied
|
|
4342
|
-
# @yieldparam result [Google::Apis::ContentV2_1::ReturnPolicy] parsed result object
|
|
4343
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
4344
|
-
#
|
|
4345
|
-
# @return [Google::Apis::ContentV2_1::ReturnPolicy]
|
|
4346
|
-
#
|
|
4347
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4348
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4349
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4350
|
-
def get_returnpolicy(merchant_id, return_policy_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
4351
|
-
command = make_simple_command(:get, '{merchantId}/returnpolicy/{returnPolicyId}', options)
|
|
4352
|
-
command.response_representation = Google::Apis::ContentV2_1::ReturnPolicy::Representation
|
|
4353
|
-
command.response_class = Google::Apis::ContentV2_1::ReturnPolicy
|
|
4354
|
-
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
4355
|
-
command.params['returnPolicyId'] = return_policy_id unless return_policy_id.nil?
|
|
4356
|
-
command.query['fields'] = fields unless fields.nil?
|
|
4357
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4358
|
-
execute_or_queue_command(command, &block)
|
|
4359
|
-
end
|
|
4360
|
-
|
|
4361
|
-
# Inserts a return policy for the Merchant Center account.
|
|
4362
|
-
# @param [Fixnum] merchant_id
|
|
4363
|
-
# The Merchant Center account to insert a return policy for.
|
|
4364
|
-
# @param [Google::Apis::ContentV2_1::ReturnPolicy] return_policy_object
|
|
4365
|
-
# @param [String] fields
|
|
4366
|
-
# Selector specifying which fields to include in a partial response.
|
|
4367
|
-
# @param [String] quota_user
|
|
4368
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
4369
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
4370
|
-
# @param [Google::Apis::RequestOptions] options
|
|
4371
|
-
# Request-specific options
|
|
4372
|
-
#
|
|
4373
|
-
# @yield [result, err] Result & error if block supplied
|
|
4374
|
-
# @yieldparam result [Google::Apis::ContentV2_1::ReturnPolicy] parsed result object
|
|
4375
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
4376
|
-
#
|
|
4377
|
-
# @return [Google::Apis::ContentV2_1::ReturnPolicy]
|
|
4378
|
-
#
|
|
4379
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4380
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4381
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4382
|
-
def insert_returnpolicy(merchant_id, return_policy_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4383
|
-
command = make_simple_command(:post, '{merchantId}/returnpolicy', options)
|
|
4384
|
-
command.request_representation = Google::Apis::ContentV2_1::ReturnPolicy::Representation
|
|
4385
|
-
command.request_object = return_policy_object
|
|
4386
|
-
command.response_representation = Google::Apis::ContentV2_1::ReturnPolicy::Representation
|
|
4387
|
-
command.response_class = Google::Apis::ContentV2_1::ReturnPolicy
|
|
4388
|
-
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
4389
|
-
command.query['fields'] = fields unless fields.nil?
|
|
4390
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4391
|
-
execute_or_queue_command(command, &block)
|
|
4392
|
-
end
|
|
4393
|
-
|
|
4394
|
-
# Lists the return policies of the Merchant Center account.
|
|
4395
|
-
# @param [Fixnum] merchant_id
|
|
4396
|
-
# The Merchant Center account to list return policies for.
|
|
4397
|
-
# @param [String] fields
|
|
4398
|
-
# Selector specifying which fields to include in a partial response.
|
|
4399
|
-
# @param [String] quota_user
|
|
4400
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
4401
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
4402
|
-
# @param [Google::Apis::RequestOptions] options
|
|
4403
|
-
# Request-specific options
|
|
4404
|
-
#
|
|
4405
|
-
# @yield [result, err] Result & error if block supplied
|
|
4406
|
-
# @yieldparam result [Google::Apis::ContentV2_1::ReturnpolicyListResponse] parsed result object
|
|
4407
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
4408
|
-
#
|
|
4409
|
-
# @return [Google::Apis::ContentV2_1::ReturnpolicyListResponse]
|
|
4410
|
-
#
|
|
4411
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4412
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4413
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4414
|
-
def list_returnpolicies(merchant_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
4415
|
-
command = make_simple_command(:get, '{merchantId}/returnpolicy', options)
|
|
4416
|
-
command.response_representation = Google::Apis::ContentV2_1::ReturnpolicyListResponse::Representation
|
|
4417
|
-
command.response_class = Google::Apis::ContentV2_1::ReturnpolicyListResponse
|
|
4418
|
-
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
4419
|
-
command.query['fields'] = fields unless fields.nil?
|
|
4420
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4421
|
-
execute_or_queue_command(command, &block)
|
|
4422
|
-
end
|
|
4423
|
-
|
|
4424
4100
|
# Creates a new return policy.
|
|
4425
4101
|
# @param [Fixnum] merchant_id
|
|
4426
4102
|
# Required. The id of the merchant for which to retrieve the return policy
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-content_v2_1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.47.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-content_v2_1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-content_v2_1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-content_v2_1/v0.47.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-content_v2_1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|