google-apis-androidpublisher_v3 0.58.0 → 0.59.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 +5 -0
- data/lib/google/apis/androidpublisher_v3/classes.rb +15 -0
- data/lib/google/apis/androidpublisher_v3/gem_version.rb +3 -3
- data/lib/google/apis/androidpublisher_v3/representations.rb +2 -0
- data/lib/google/apis/androidpublisher_v3/service.rb +11 -4
- 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: c2001e9919bf3c8a915f0222b8920b138b2db90628790498ad0de5fac0b0fd66
|
4
|
+
data.tar.gz: '03838ab10ccf8c6486683547f5d54328c4794a451f860589c4623d6c1f7483ae'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32df0f2626e7ac48c5f60488c5c5eb956b48f2f2a0bec29cd0538c3bebf96e0f2b167f9911aaf0f182713a38c86deaddcb8df69cb831dd94c06b46f4bec332d8
|
7
|
+
data.tar.gz: af4a403807f119d682d00a6692b7fe19a8b6ebaa637bc0afc82af2bb7638887a1518ef4efae38f82f3b7af6b453b7d9216f55f3285e77a8cb01949070866485e
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-androidpublisher_v3
|
2
2
|
|
3
|
+
### v0.59.0 (2024-03-24)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240321
|
6
|
+
* Regenerated using generator version 0.14.0
|
7
|
+
|
3
8
|
### v0.58.0 (2024-02-23)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20240222
|
@@ -4192,6 +4192,12 @@ module Google
|
|
4192
4192
|
# @return [Fixnum]
|
4193
4193
|
attr_accessor :quantity
|
4194
4194
|
|
4195
|
+
# The quantity eligible for refund, i.e. quantity that hasn't been refunded. The
|
4196
|
+
# value reflects quantity-based partial refunds and full refunds.
|
4197
|
+
# Corresponds to the JSON property `refundableQuantity`
|
4198
|
+
# @return [Fixnum]
|
4199
|
+
attr_accessor :refundable_quantity
|
4200
|
+
|
4195
4201
|
# ISO 3166-1 alpha-2 billing region code of the user at the time the product was
|
4196
4202
|
# granted.
|
4197
4203
|
# Corresponds to the JSON property `regionCode`
|
@@ -4217,6 +4223,7 @@ module Google
|
|
4217
4223
|
@purchase_token = args[:purchase_token] if args.key?(:purchase_token)
|
4218
4224
|
@purchase_type = args[:purchase_type] if args.key?(:purchase_type)
|
4219
4225
|
@quantity = args[:quantity] if args.key?(:quantity)
|
4226
|
+
@refundable_quantity = args[:refundable_quantity] if args.key?(:refundable_quantity)
|
4220
4227
|
@region_code = args[:region_code] if args.key?(:region_code)
|
4221
4228
|
end
|
4222
4229
|
end
|
@@ -7080,6 +7087,13 @@ module Google
|
|
7080
7087
|
# @return [String]
|
7081
7088
|
attr_accessor :purchase_token
|
7082
7089
|
|
7090
|
+
# The voided quantity as the result of a quantity-based partial refund. Voided
|
7091
|
+
# purchases of quantity-based partial refunds may only be returned when
|
7092
|
+
# includeQuantityBasedPartialRefund is set to true.
|
7093
|
+
# Corresponds to the JSON property `voidedQuantity`
|
7094
|
+
# @return [Fixnum]
|
7095
|
+
attr_accessor :voided_quantity
|
7096
|
+
|
7083
7097
|
# The reason why the purchase was voided, possible values are: 0. Other 1.
|
7084
7098
|
# Remorse 2. Not_received 3. Defective 4. Accidental_purchase 5. Fraud 6.
|
7085
7099
|
# Friendly_fraud 7. Chargeback
|
@@ -7109,6 +7123,7 @@ module Google
|
|
7109
7123
|
@order_id = args[:order_id] if args.key?(:order_id)
|
7110
7124
|
@purchase_time_millis = args[:purchase_time_millis] if args.key?(:purchase_time_millis)
|
7111
7125
|
@purchase_token = args[:purchase_token] if args.key?(:purchase_token)
|
7126
|
+
@voided_quantity = args[:voided_quantity] if args.key?(:voided_quantity)
|
7112
7127
|
@voided_reason = args[:voided_reason] if args.key?(:voided_reason)
|
7113
7128
|
@voided_source = args[:voided_source] if args.key?(:voided_source)
|
7114
7129
|
@voided_time_millis = args[:voided_time_millis] if args.key?(:voided_time_millis)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module AndroidpublisherV3
|
18
18
|
# Version of the google-apis-androidpublisher_v3 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.59.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.14.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240321"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -2665,6 +2665,7 @@ module Google
|
|
2665
2665
|
property :purchase_token, as: 'purchaseToken'
|
2666
2666
|
property :purchase_type, as: 'purchaseType'
|
2667
2667
|
property :quantity, as: 'quantity'
|
2668
|
+
property :refundable_quantity, as: 'refundableQuantity'
|
2668
2669
|
property :region_code, as: 'regionCode'
|
2669
2670
|
end
|
2670
2671
|
end
|
@@ -3502,6 +3503,7 @@ module Google
|
|
3502
3503
|
property :order_id, as: 'orderId'
|
3503
3504
|
property :purchase_time_millis, :numeric_string => true, as: 'purchaseTimeMillis'
|
3504
3505
|
property :purchase_token, as: 'purchaseToken'
|
3506
|
+
property :voided_quantity, as: 'voidedQuantity'
|
3505
3507
|
property :voided_reason, as: 'voidedReason'
|
3506
3508
|
property :voided_source, as: 'voidedSource'
|
3507
3509
|
property :voided_time_millis, :numeric_string => true, as: 'voidedTimeMillis'
|
@@ -1819,9 +1819,9 @@ module Google
|
|
1819
1819
|
# @param [String] external_transaction_id
|
1820
1820
|
# Required. The id to use for the external transaction. Must be unique across
|
1821
1821
|
# all other transactions for the app. This value should be 1-63 characters and
|
1822
|
-
# valid characters are /a-
|
1823
|
-
# Identifiable Information (PII) such as emails. Attempting to store
|
1824
|
-
# field may result in requests being blocked.
|
1822
|
+
# valid characters are /a-zA-Z0-9_-/. Do not use this field to store any
|
1823
|
+
# Personally Identifiable Information (PII) such as emails. Attempting to store
|
1824
|
+
# PII in this field may result in requests being blocked.
|
1825
1825
|
# @param [String] fields
|
1826
1826
|
# Selector specifying which fields to include in a partial response.
|
1827
1827
|
# @param [String] quota_user
|
@@ -4094,6 +4094,12 @@ module Google
|
|
4094
4094
|
# value is current time. Note: This filter is applied on the time at which the
|
4095
4095
|
# record is seen as voided by our systems and not the actual voided time
|
4096
4096
|
# returned in the response.
|
4097
|
+
# @param [Boolean] include_quantity_based_partial_refund
|
4098
|
+
# Optional. Whether to include voided purchases of quantity-based partial
|
4099
|
+
# refunds, which are applicable only to multi-quantity purchases. If true,
|
4100
|
+
# additional voided purchases may be returned with voidedQuantity that indicates
|
4101
|
+
# the refund quantity of a quantity-based partial refund. The default value is
|
4102
|
+
# false.
|
4097
4103
|
# @param [Fixnum] max_results
|
4098
4104
|
# Defines how many results the list operation should return. The default number
|
4099
4105
|
# depends on the resource collection.
|
@@ -4137,12 +4143,13 @@ module Google
|
|
4137
4143
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4138
4144
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4139
4145
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4140
|
-
def list_purchase_voidedpurchases(package_name, end_time: nil, max_results: nil, start_index: nil, start_time: nil, token: nil, type: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4146
|
+
def list_purchase_voidedpurchases(package_name, end_time: nil, include_quantity_based_partial_refund: nil, max_results: nil, start_index: nil, start_time: nil, token: nil, type: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4141
4147
|
command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/purchases/voidedpurchases', options)
|
4142
4148
|
command.response_representation = Google::Apis::AndroidpublisherV3::VoidedPurchasesListResponse::Representation
|
4143
4149
|
command.response_class = Google::Apis::AndroidpublisherV3::VoidedPurchasesListResponse
|
4144
4150
|
command.params['packageName'] = package_name unless package_name.nil?
|
4145
4151
|
command.query['endTime'] = end_time unless end_time.nil?
|
4152
|
+
command.query['includeQuantityBasedPartialRefund'] = include_quantity_based_partial_refund unless include_quantity_based_partial_refund.nil?
|
4146
4153
|
command.query['maxResults'] = max_results unless max_results.nil?
|
4147
4154
|
command.query['startIndex'] = start_index unless start_index.nil?
|
4148
4155
|
command.query['startTime'] = start_time unless start_time.nil?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-androidpublisher_v3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.59.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: 2024-
|
11
|
+
date: 2024-03-24 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/main/generated/google-apis-androidpublisher_v3/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-androidpublisher_v3/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-androidpublisher_v3/v0.59.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-androidpublisher_v3
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|