google-apis-content_v2_1 0.21.0 → 0.22.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: 6234741381717aa5f8b25da6ad7947105b3bc2c4a25a569e7e6ae29bf13d57a3
4
- data.tar.gz: c7245d4d2d9d8a9232a5b0dc49413a8aa023e5e46edeb0518cf530febc80e1f4
3
+ metadata.gz: 38375e09b4e3218965307bf88cb8a1820ba29f3d30192dbfd5c6ad13adcc382a
4
+ data.tar.gz: 4e5b4c922bf05d20c65c536bde6e750e752068268e78b93c492d0db627c401fd
5
5
  SHA512:
6
- metadata.gz: 21a2194481ecdca3c07280a39d59f83ab7c11f7e79d3e3e80ce1e7de005c6ca2bd52e5e8b3d35be2b92e472755dbf35f9c17ad1bbd827f4ab75ae5ffb372add4
7
- data.tar.gz: ac12528e7f443675232618e29152c577d04b93bb2a598939f7d1cdfe8dfa0ce4c2b0664a4960271319bf7512a6e19a23fd5bc488ffd3d87b8938c5301959efb7
6
+ metadata.gz: 0cee9ed7164f1f711eccd3496ee0d581c21040790f2ad9b409c83541799546bd1d1a36e73e2fb43367e43691794f42b41a14b1e56e67ce29fe35297fab6fdd66
7
+ data.tar.gz: 11600dd19455d07ab6ccebfb8d10dae3a24ba62d9a5c0cdb5516b854b4c8aeb7f626fdf6f9f1e587c2e8d786fa8cf54eb69bea1d7599404ba700c5671a2c93be
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-content_v2_1
2
2
 
3
+ ### v0.22.0 (2021-09-22)
4
+
5
+ * Regenerated from discovery document revision 20210917
6
+
3
7
  ### v0.21.0 (2021-09-15)
4
8
 
5
9
  * Regenerated from discovery document revision 20210911
@@ -1146,6 +1146,11 @@ module Google
1146
1146
  # @return [String]
1147
1147
  attr_accessor :action
1148
1148
 
1149
+ # Additional information required for E_COMMERCE_PLATFORM link type.
1150
+ # Corresponds to the JSON property `eCommercePlatformLinkInfo`
1151
+ # @return [Google::Apis::ContentV2_1::ECommercePlatformLinkInfo]
1152
+ attr_accessor :e_commerce_platform_link_info
1153
+
1149
1154
  # Type of the link between the two accounts. Acceptable values are: - "`
1150
1155
  # channelPartner`" - "`eCommercePlatform`" - "`paymentServiceProvider`"
1151
1156
  # Corresponds to the JSON property `linkType`
@@ -1176,6 +1181,7 @@ module Google
1176
1181
  # Update properties of this object
1177
1182
  def update!(**args)
1178
1183
  @action = args[:action] if args.key?(:action)
1184
+ @e_commerce_platform_link_info = args[:e_commerce_platform_link_info] if args.key?(:e_commerce_platform_link_info)
1179
1185
  @link_type = args[:link_type] if args.key?(:link_type)
1180
1186
  @linked_account_id = args[:linked_account_id] if args.key?(:linked_account_id)
1181
1187
  @payment_service_provider_link_info = args[:payment_service_provider_link_info] if args.key?(:payment_service_provider_link_info)
@@ -3238,6 +3244,25 @@ module Google
3238
3244
  end
3239
3245
  end
3240
3246
 
3247
+ # Additional information required for E_COMMERCE_PLATFORM link type.
3248
+ class ECommercePlatformLinkInfo
3249
+ include Google::Apis::Core::Hashable
3250
+
3251
+ # The id used by the third party service provider to identify the merchant.
3252
+ # Corresponds to the JSON property `externalAccountId`
3253
+ # @return [String]
3254
+ attr_accessor :external_account_id
3255
+
3256
+ def initialize(**args)
3257
+ update!(**args)
3258
+ end
3259
+
3260
+ # Update properties of this object
3261
+ def update!(**args)
3262
+ @external_account_id = args[:external_account_id] if args.key?(:external_account_id)
3263
+ end
3264
+ end
3265
+
3241
3266
  # An error returned by the API.
3242
3267
  class Error
3243
3268
  include Google::Apis::Core::Hashable
@@ -5553,7 +5578,7 @@ module Google
5553
5578
  # "`noInventory`" - "`orderTimeout`" - "`other`" - "`paymentAbuse`" - "`
5554
5579
  # paymentDeclined`" - "`priceError`" - "`returnRefundAbuse`" - "`
5555
5580
  # shippingPriceError`" - "`taxError`" - "`undeliverableShippingAddress`" - "`
5556
- # unsupportedPoBoxAddress`"
5581
+ # unsupportedPoBoxAddress`" - "`failedToCaptureFunds`"
5557
5582
  # Corresponds to the JSON property `reason`
5558
5583
  # @return [String]
5559
5584
  attr_accessor :reason
@@ -7841,7 +7866,8 @@ module Google
7841
7866
  # The reason for the cancellation. Acceptable values are: - "`
7842
7867
  # customerInitiatedCancel`" - "`invalidCoupon`" - "`malformedShippingAddress`" -
7843
7868
  # "`noInventory`" - "`other`" - "`priceError`" - "`shippingPriceError`" - "`
7844
- # taxError`" - "`undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`"
7869
+ # taxError`" - "`undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`" - "
7870
+ # `failedToCaptureFunds`"
7845
7871
  # Corresponds to the JSON property `reason`
7846
7872
  # @return [String]
7847
7873
  attr_accessor :reason
@@ -7905,7 +7931,8 @@ module Google
7905
7931
  # The reason for the cancellation. Acceptable values are: - "`
7906
7932
  # customerInitiatedCancel`" - "`invalidCoupon`" - "`malformedShippingAddress`" -
7907
7933
  # "`noInventory`" - "`other`" - "`priceError`" - "`shippingPriceError`" - "`
7908
- # taxError`" - "`undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`"
7934
+ # taxError`" - "`undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`" - "
7935
+ # `failedToCaptureFunds`"
7909
7936
  # Corresponds to the JSON property `reason`
7910
7937
  # @return [String]
7911
7938
  attr_accessor :reason
@@ -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.21.0"
19
+ GEM_VERSION = "0.22.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210911"
25
+ REVISION = "20210917"
26
26
  end
27
27
  end
28
28
  end
@@ -502,6 +502,12 @@ module Google
502
502
  include Google::Apis::Core::JsonObjectSupport
503
503
  end
504
504
 
505
+ class ECommercePlatformLinkInfo
506
+ class Representation < Google::Apis::Core::JsonRepresentation; end
507
+
508
+ include Google::Apis::Core::JsonObjectSupport
509
+ end
510
+
505
511
  class Error
506
512
  class Representation < Google::Apis::Core::JsonRepresentation; end
507
513
 
@@ -2596,6 +2602,8 @@ module Google
2596
2602
  # @private
2597
2603
  class Representation < Google::Apis::Core::JsonRepresentation
2598
2604
  property :action, as: 'action'
2605
+ property :e_commerce_platform_link_info, as: 'eCommercePlatformLinkInfo', class: Google::Apis::ContentV2_1::ECommercePlatformLinkInfo, decorator: Google::Apis::ContentV2_1::ECommercePlatformLinkInfo::Representation
2606
+
2599
2607
  property :link_type, as: 'linkType'
2600
2608
  property :linked_account_id, as: 'linkedAccountId'
2601
2609
  property :payment_service_provider_link_info, as: 'paymentServiceProviderLinkInfo', class: Google::Apis::ContentV2_1::PaymentServiceProviderLinkInfo, decorator: Google::Apis::ContentV2_1::PaymentServiceProviderLinkInfo::Representation
@@ -3166,6 +3174,13 @@ module Google
3166
3174
  end
3167
3175
  end
3168
3176
 
3177
+ class ECommercePlatformLinkInfo
3178
+ # @private
3179
+ class Representation < Google::Apis::Core::JsonRepresentation
3180
+ property :external_account_id, as: 'externalAccountId'
3181
+ end
3182
+ end
3183
+
3169
3184
  class Error
3170
3185
  # @private
3171
3186
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3147,7 +3147,12 @@ module Google
3147
3147
  # the payment processsor. If this method succeeds, the merchant is guaranteed to
3148
3148
  # receive funds for the order after shipment. If the request fails, it can be
3149
3149
  # retried or the order may be cancelled. This method cannot be called after the
3150
- # entire order is already shipped.
3150
+ # entire order is already shipped. A rejected error code is returned when the
3151
+ # payment service provider has declined the charge. This indicates a problem
3152
+ # between the PSP and either the merchant's or customer's account. Sometimes
3153
+ # this error will be resolved by the customer. We recommend retrying these
3154
+ # errors once per day or cancelling the order with reason `failedToCaptureFunds`
3155
+ # if the items cannot be held.
3151
3156
  # @param [Fixnum] merchant_id
3152
3157
  # Required. The ID of the account that manages the order. This cannot be a multi-
3153
3158
  # client account.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-content_v2_1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.0
4
+ version: 0.22.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-09-20 00:00:00.000000000 Z
11
+ date: 2021-09-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-content_v2_1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-content_v2_1/v0.21.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-content_v2_1/v0.22.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-content_v2_1
63
63
  post_install_message:
64
64
  rdoc_options: []