google-apis-merchantapi_accounts_v1beta 0.8.0 → 0.9.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/merchantapi_accounts_v1beta/classes.rb +32 -31
- data/lib/google/apis/merchantapi_accounts_v1beta/gem_version.rb +2 -2
- data/lib/google/apis/merchantapi_accounts_v1beta/representations.rb +1 -0
- data/lib/google/apis/merchantapi_accounts_v1beta/service.rb +6 -6
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f95217eea3d950235f20107e37aba8c10c044c58d7a81b397c0736808137e4eb
|
4
|
+
data.tar.gz: ae5d8d9928326a69e4a2bf4a972879a9d9b3bc8c33272f23e95bf7a2a903ac1b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b7425104000f1449ab2ead161298333e0d0b40a93f11a7e5e2d579839191053c6bde7d5a7c3fa369b545432badfaf17596951b71524e966b272ace69623782d0
|
7
|
+
data.tar.gz: b12b282cb3e8cae9076e3a778ea15cd311c96a516c788f27b788edfff528f2d059d917f6280b5913bc347dd4155a1d0373189210bb02940c0c74352fa86246d1
|
data/CHANGELOG.md
CHANGED
@@ -1796,6 +1796,12 @@ module Google
|
|
1796
1796
|
# @return [Google::Apis::MerchantapiAccountsV1beta::RestockingFee]
|
1797
1797
|
attr_accessor :restocking_fee
|
1798
1798
|
|
1799
|
+
# The field specifies the return label source. This field is required when
|
1800
|
+
# return method is BY_MAIL.
|
1801
|
+
# Corresponds to the JSON property `returnLabelSource`
|
1802
|
+
# @return [String]
|
1803
|
+
attr_accessor :return_label_source
|
1804
|
+
|
1799
1805
|
# Optional. The return methods of how customers can return an item. This value
|
1800
1806
|
# is required to not be empty unless the type of return policy is noReturns.
|
1801
1807
|
# Corresponds to the JSON property `returnMethods`
|
@@ -1840,6 +1846,7 @@ module Google
|
|
1840
1846
|
@policy = args[:policy] if args.key?(:policy)
|
1841
1847
|
@process_refund_days = args[:process_refund_days] if args.key?(:process_refund_days)
|
1842
1848
|
@restocking_fee = args[:restocking_fee] if args.key?(:restocking_fee)
|
1849
|
+
@return_label_source = args[:return_label_source] if args.key?(:return_label_source)
|
1843
1850
|
@return_methods = args[:return_methods] if args.key?(:return_methods)
|
1844
1851
|
@return_policy_id = args[:return_policy_id] if args.key?(:return_policy_id)
|
1845
1852
|
@return_policy_uri = args[:return_policy_uri] if args.key?(:return_policy_uri)
|
@@ -2462,15 +2469,13 @@ module Google
|
|
2462
2469
|
class Required
|
2463
2470
|
include Google::Apis::Core::Hashable
|
2464
2471
|
|
2465
|
-
# The
|
2466
|
-
# that need to be accepted.
|
2472
|
+
# The `TermsOfService` that need to be accepted.
|
2467
2473
|
# Corresponds to the JSON property `termsOfService`
|
2468
2474
|
# @return [String]
|
2469
2475
|
attr_accessor :terms_of_service
|
2470
2476
|
|
2471
|
-
# Full URL to the terms of service file. This field is the same as
|
2472
|
-
# TermsOfService.file_uri
|
2473
|
-
# convenience only.
|
2477
|
+
# Full URL to the terms of service file. This field is the same as `
|
2478
|
+
# TermsOfService.file_uri`, it is added here for convenience only.
|
2474
2479
|
# Corresponds to the JSON property `tosFileUri`
|
2475
2480
|
# @return [String]
|
2476
2481
|
attr_accessor :tos_file_uri
|
@@ -2742,8 +2747,8 @@ module Google
|
|
2742
2747
|
end
|
2743
2748
|
end
|
2744
2749
|
|
2745
|
-
# The merchant account's [shipping
|
2746
|
-
# answer/6069284).
|
2750
|
+
# The merchant account's [shipping settings](https://support.google.com/
|
2751
|
+
# merchants/answer/6069284).
|
2747
2752
|
class ShippingSettings
|
2748
2753
|
include Google::Apis::Core::Hashable
|
2749
2754
|
|
@@ -2761,8 +2766,8 @@ module Google
|
|
2761
2766
|
# @return [String]
|
2762
2767
|
attr_accessor :etag
|
2763
2768
|
|
2764
|
-
# Identifier. The resource name of the shipping
|
2765
|
-
# account`/
|
2769
|
+
# Identifier. The resource name of the shipping settings. Format: `accounts/`
|
2770
|
+
# account`/shippingSettings`
|
2766
2771
|
# Corresponds to the JSON property `name`
|
2767
2772
|
# @return [String]
|
2768
2773
|
attr_accessor :name
|
@@ -2935,13 +2940,13 @@ module Google
|
|
2935
2940
|
end
|
2936
2941
|
|
2937
2942
|
# The `TermsOfService` message represents a specific version of the terms of
|
2938
|
-
# service that merchants must accept to access certain features or services
|
2939
|
-
# https://support.google.com/merchants/
|
2940
|
-
# for the onboarding process, ensuring
|
2941
|
-
# legal agreements for using the service.
|
2942
|
-
# terms of service for a given `kind` and `
|
2943
|
-
# RetrieveLatestTermsOfService`, and accept them as required
|
2944
|
-
# AcceptTermsOfService`.
|
2943
|
+
# service that merchants must accept to access certain features or services. For
|
2944
|
+
# more information, see [Terms of Service](https://support.google.com/merchants/
|
2945
|
+
# answer/160173). This message is important for the onboarding process, ensuring
|
2946
|
+
# that merchants agree to the necessary legal agreements for using the service.
|
2947
|
+
# Merchants can retrieve the latest terms of service for a given `kind` and `
|
2948
|
+
# region` through `RetrieveLatestTermsOfService`, and accept them as required
|
2949
|
+
# through `AcceptTermsOfService`.
|
2945
2950
|
class TermsOfService
|
2946
2951
|
include Google::Apis::Core::Hashable
|
2947
2952
|
|
@@ -2995,21 +3000,17 @@ module Google
|
|
2995
3000
|
|
2996
3001
|
# This resource represents the agreement state for a given account and terms of
|
2997
3002
|
# service kind. The state is as follows: * If the merchant has accepted a terms
|
2998
|
-
# of service
|
2999
|
-
#
|
3000
|
-
#
|
3001
|
-
#
|
3002
|
-
#
|
3003
|
-
#
|
3004
|
-
#
|
3005
|
-
#
|
3006
|
-
#
|
3007
|
-
#
|
3008
|
-
#
|
3009
|
-
# url to the file containing the text is added in the Required message below as [
|
3010
|
-
# tos_file_uri](Accepted.tos_file_uri). The actual acceptance of the terms of
|
3011
|
-
# service is done by calling accept on the [TermsOfService](TermsOfService)
|
3012
|
-
# resource.
|
3003
|
+
# of service, `accepted` will be populated, otherwise it will be empty * If the
|
3004
|
+
# merchant must sign a terms of service, `required` will be populated, otherwise
|
3005
|
+
# it will be empty. Note that both `required` and `accepted` can be present. In
|
3006
|
+
# this case the `accepted` terms of services will have an expiration date set in
|
3007
|
+
# the `valid_until` field. The `required` terms of services need to be accepted
|
3008
|
+
# before `valid_until` in order for the account to continue having a valid
|
3009
|
+
# agreement. When accepting new terms of services we expect 3Ps to display the
|
3010
|
+
# text associated with the given terms of service agreement (the url to the file
|
3011
|
+
# containing the text is added in the Required message below as `tos_file_uri`.
|
3012
|
+
# The actual acceptance of the terms of service is done by calling accept on the
|
3013
|
+
# `TermsOfService` resource.
|
3013
3014
|
class TermsOfServiceAgreementState
|
3014
3015
|
include Google::Apis::Core::Hashable
|
3015
3016
|
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module MerchantapiAccountsV1beta
|
18
18
|
# Version of the google-apis-merchantapi_accounts_v1beta gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.9.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250408"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1023,6 +1023,7 @@ module Google
|
|
1023
1023
|
property :process_refund_days, as: 'processRefundDays'
|
1024
1024
|
property :restocking_fee, as: 'restockingFee', class: Google::Apis::MerchantapiAccountsV1beta::RestockingFee, decorator: Google::Apis::MerchantapiAccountsV1beta::RestockingFee::Representation
|
1025
1025
|
|
1026
|
+
property :return_label_source, as: 'returnLabelSource'
|
1026
1027
|
collection :return_methods, as: 'returnMethods'
|
1027
1028
|
property :return_policy_id, as: 'returnPolicyId'
|
1028
1029
|
property :return_policy_uri, as: 'returnPolicyUri'
|
@@ -51,8 +51,8 @@ module Google
|
|
51
51
|
@batch_path = 'batch'
|
52
52
|
end
|
53
53
|
|
54
|
-
# Creates a
|
55
|
-
#
|
54
|
+
# Creates a Merchant Center account with additional configuration. Adds the user
|
55
|
+
# that makes the request as an admin for the new account.
|
56
56
|
# @param [Google::Apis::MerchantapiAccountsV1beta::CreateAndConfigureAccountRequest] create_and_configure_account_request_object
|
57
57
|
# @param [String] fields
|
58
58
|
# Selector specifying which fields to include in a partial response.
|
@@ -801,7 +801,7 @@ module Google
|
|
801
801
|
# such as `en-US` or `sr-Latn`. If not value is provided, `en-US` will be used.
|
802
802
|
# @param [Fixnum] page_size
|
803
803
|
# Optional. The maximum number of issues to return. The service may return fewer
|
804
|
-
# than this value. If unspecified, at most 50
|
804
|
+
# than this value. If unspecified, at most 50 issues will be returned. The
|
805
805
|
# maximum value is 100; values above 100 will be coerced to 100
|
806
806
|
# @param [String] page_token
|
807
807
|
# Optional. A page token, received from a previous `ListAccountIssues` call.
|
@@ -1243,7 +1243,7 @@ module Google
|
|
1243
1243
|
# Retrieve shipping setting information.
|
1244
1244
|
# @param [String] name
|
1245
1245
|
# Required. The name of the shipping setting to retrieve. Format: `accounts/`
|
1246
|
-
# account`/
|
1246
|
+
# account`/shippingsettings`
|
1247
1247
|
# @param [String] fields
|
1248
1248
|
# Selector specifying which fields to include in a partial response.
|
1249
1249
|
# @param [String] quota_user
|
@@ -1309,7 +1309,7 @@ module Google
|
|
1309
1309
|
# Returns the state of a terms of service agreement.
|
1310
1310
|
# @param [String] name
|
1311
1311
|
# Required. The resource name of the terms of service version. Format: `accounts/
|
1312
|
-
# `account`/
|
1312
|
+
# `account`/termsOfServiceAgreementStates/`identifier`` The identifier format is:
|
1313
1313
|
# ``TermsOfServiceKind`-`country``
|
1314
1314
|
# @param [String] fields
|
1315
1315
|
# Selector specifying which fields to include in a partial response.
|
@@ -1559,7 +1559,7 @@ module Google
|
|
1559
1559
|
# Required. The resource name of the terms of service version. Format: `
|
1560
1560
|
# termsOfService/`version``
|
1561
1561
|
# @param [String] account
|
1562
|
-
# Required. The account for which to accept the ToS.
|
1562
|
+
# Required. The account for which to accept the ToS. Format: `accounts/`account``
|
1563
1563
|
# @param [String] region_code
|
1564
1564
|
# Required. Region code as defined by [CLDR](https://cldr.unicode.org/). This is
|
1565
1565
|
# either a country when the ToS applies specifically to that country or 001 when
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-merchantapi_accounts_v1beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-
|
10
|
+
date: 2025-04-16 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: google-apis-core
|
@@ -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-merchantapi_accounts_v1beta/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-merchantapi_accounts_v1beta/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-merchantapi_accounts_v1beta/v0.9.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-merchantapi_accounts_v1beta
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|