google-apis-androidpublisher_v3 0.79.0 → 0.80.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.
@@ -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.79.0"
19
+ GEM_VERSION = "0.80.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.17.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250318"
25
+ REVISION = "20250520"
26
26
  end
27
27
  end
28
28
  end
@@ -190,6 +190,12 @@ module Google
190
190
  include Google::Apis::Core::JsonObjectSupport
191
191
  end
192
192
 
193
+ class BatchGetOrdersResponse
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
193
199
  class BatchGetSubscriptionOffersRequest
194
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
201
 
@@ -280,6 +286,12 @@ module Google
280
286
  include Google::Apis::Core::JsonObjectSupport
281
287
  end
282
288
 
289
+ class BuyerAddress
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
283
295
  class CancelAppRecoveryRequest
284
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
285
297
 
@@ -304,6 +316,12 @@ module Google
304
316
  include Google::Apis::Core::JsonObjectSupport
305
317
  end
306
318
 
319
+ class CancellationEvent
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
307
325
  class Comment
308
326
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
327
 
@@ -682,6 +700,12 @@ module Google
682
700
  include Google::Apis::Core::JsonObjectSupport
683
701
  end
684
702
 
703
+ class LineItem
704
+ class Representation < Google::Apis::Core::JsonRepresentation; end
705
+
706
+ include Google::Apis::Core::JsonObjectSupport
707
+ end
708
+
685
709
  class ListAppRecoveriesResponse
686
710
  class Representation < Google::Apis::Core::JsonRepresentation; end
687
711
 
@@ -802,6 +826,30 @@ module Google
802
826
  include Google::Apis::Core::JsonObjectSupport
803
827
  end
804
828
 
829
+ class OneTimePurchaseDetails
830
+ class Representation < Google::Apis::Core::JsonRepresentation; end
831
+
832
+ include Google::Apis::Core::JsonObjectSupport
833
+ end
834
+
835
+ class Order
836
+ class Representation < Google::Apis::Core::JsonRepresentation; end
837
+
838
+ include Google::Apis::Core::JsonObjectSupport
839
+ end
840
+
841
+ class OrderDetails
842
+ class Representation < Google::Apis::Core::JsonRepresentation; end
843
+
844
+ include Google::Apis::Core::JsonObjectSupport
845
+ end
846
+
847
+ class OrderHistory
848
+ class Representation < Google::Apis::Core::JsonRepresentation; end
849
+
850
+ include Google::Apis::Core::JsonObjectSupport
851
+ end
852
+
805
853
  class OtherRecurringProduct
806
854
  class Representation < Google::Apis::Core::JsonRepresentation; end
807
855
 
@@ -844,12 +892,24 @@ module Google
844
892
  include Google::Apis::Core::JsonObjectSupport
845
893
  end
846
894
 
895
+ class PaidAppDetails
896
+ class Representation < Google::Apis::Core::JsonRepresentation; end
897
+
898
+ include Google::Apis::Core::JsonObjectSupport
899
+ end
900
+
847
901
  class PartialRefund
848
902
  class Representation < Google::Apis::Core::JsonRepresentation; end
849
903
 
850
904
  include Google::Apis::Core::JsonObjectSupport
851
905
  end
852
906
 
907
+ class PartialRefundEvent
908
+ class Representation < Google::Apis::Core::JsonRepresentation; end
909
+
910
+ include Google::Apis::Core::JsonObjectSupport
911
+ end
912
+
853
913
  class PausedStateContext
854
914
  class Representation < Google::Apis::Core::JsonRepresentation; end
855
915
 
@@ -862,6 +922,12 @@ module Google
862
922
  include Google::Apis::Core::JsonObjectSupport
863
923
  end
864
924
 
925
+ class PointsDetails
926
+ class Representation < Google::Apis::Core::JsonRepresentation; end
927
+
928
+ include Google::Apis::Core::JsonObjectSupport
929
+ end
930
+
865
931
  class PrepaidBasePlanType
866
932
  class Representation < Google::Apis::Core::JsonRepresentation; end
867
933
 
@@ -880,6 +946,12 @@ module Google
880
946
  include Google::Apis::Core::JsonObjectSupport
881
947
  end
882
948
 
949
+ class ProcessedEvent
950
+ class Representation < Google::Apis::Core::JsonRepresentation; end
951
+
952
+ include Google::Apis::Core::JsonObjectSupport
953
+ end
954
+
883
955
  class ProductPurchase
884
956
  class Representation < Google::Apis::Core::JsonRepresentation; end
885
957
 
@@ -898,6 +970,18 @@ module Google
898
970
  include Google::Apis::Core::JsonObjectSupport
899
971
  end
900
972
 
973
+ class RefundDetails
974
+ class Representation < Google::Apis::Core::JsonRepresentation; end
975
+
976
+ include Google::Apis::Core::JsonObjectSupport
977
+ end
978
+
979
+ class RefundEvent
980
+ class Representation < Google::Apis::Core::JsonRepresentation; end
981
+
982
+ include Google::Apis::Core::JsonObjectSupport
983
+ end
984
+
901
985
  class RefundExternalTransactionRequest
902
986
  class Representation < Google::Apis::Core::JsonRepresentation; end
903
987
 
@@ -1024,6 +1108,12 @@ module Google
1024
1108
  include Google::Apis::Core::JsonObjectSupport
1025
1109
  end
1026
1110
 
1111
+ class RevocationContextItemBasedRefund
1112
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1113
+
1114
+ include Google::Apis::Core::JsonObjectSupport
1115
+ end
1116
+
1027
1117
  class RevocationContextProratedRefund
1028
1118
  class Representation < Google::Apis::Core::JsonRepresentation; end
1029
1119
 
@@ -1126,6 +1216,12 @@ module Google
1126
1216
  include Google::Apis::Core::JsonObjectSupport
1127
1217
  end
1128
1218
 
1219
+ class SubscriptionDetails
1220
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1221
+
1222
+ include Google::Apis::Core::JsonObjectSupport
1223
+ end
1224
+
1129
1225
  class SubscriptionItemPriceChangeDetails
1130
1226
  class Representation < Google::Apis::Core::JsonRepresentation; end
1131
1227
 
@@ -1718,6 +1814,14 @@ module Google
1718
1814
  end
1719
1815
  end
1720
1816
 
1817
+ class BatchGetOrdersResponse
1818
+ # @private
1819
+ class Representation < Google::Apis::Core::JsonRepresentation
1820
+ collection :orders, as: 'orders', class: Google::Apis::AndroidpublisherV3::Order, decorator: Google::Apis::AndroidpublisherV3::Order::Representation
1821
+
1822
+ end
1823
+ end
1824
+
1721
1825
  class BatchGetSubscriptionOffersRequest
1722
1826
  # @private
1723
1827
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1840,6 +1944,15 @@ module Google
1840
1944
  end
1841
1945
  end
1842
1946
 
1947
+ class BuyerAddress
1948
+ # @private
1949
+ class Representation < Google::Apis::Core::JsonRepresentation
1950
+ property :buyer_country, as: 'buyerCountry'
1951
+ property :buyer_postcode, as: 'buyerPostcode'
1952
+ property :buyer_state, as: 'buyerState'
1953
+ end
1954
+ end
1955
+
1843
1956
  class CancelAppRecoveryRequest
1844
1957
  # @private
1845
1958
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1874,6 +1987,13 @@ module Google
1874
1987
  end
1875
1988
  end
1876
1989
 
1990
+ class CancellationEvent
1991
+ # @private
1992
+ class Representation < Google::Apis::Core::JsonRepresentation
1993
+ property :event_time, as: 'eventTime'
1994
+ end
1995
+ end
1996
+
1877
1997
  class Comment
1878
1998
  # @private
1879
1999
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2505,6 +2625,26 @@ module Google
2505
2625
  end
2506
2626
  end
2507
2627
 
2628
+ class LineItem
2629
+ # @private
2630
+ class Representation < Google::Apis::Core::JsonRepresentation
2631
+ property :listing_price, as: 'listingPrice', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation
2632
+
2633
+ property :one_time_purchase_details, as: 'oneTimePurchaseDetails', class: Google::Apis::AndroidpublisherV3::OneTimePurchaseDetails, decorator: Google::Apis::AndroidpublisherV3::OneTimePurchaseDetails::Representation
2634
+
2635
+ property :paid_app_details, as: 'paidAppDetails', class: Google::Apis::AndroidpublisherV3::PaidAppDetails, decorator: Google::Apis::AndroidpublisherV3::PaidAppDetails::Representation
2636
+
2637
+ property :product_id, as: 'productId'
2638
+ property :product_title, as: 'productTitle'
2639
+ property :subscription_details, as: 'subscriptionDetails', class: Google::Apis::AndroidpublisherV3::SubscriptionDetails, decorator: Google::Apis::AndroidpublisherV3::SubscriptionDetails::Representation
2640
+
2641
+ property :tax, as: 'tax', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation
2642
+
2643
+ property :total, as: 'total', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation
2644
+
2645
+ end
2646
+ end
2647
+
2508
2648
  class ListAppRecoveriesResponse
2509
2649
  # @private
2510
2650
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2687,6 +2827,62 @@ module Google
2687
2827
  end
2688
2828
  end
2689
2829
 
2830
+ class OneTimePurchaseDetails
2831
+ # @private
2832
+ class Representation < Google::Apis::Core::JsonRepresentation
2833
+ property :offer_id, as: 'offerId'
2834
+ property :quantity, as: 'quantity'
2835
+ end
2836
+ end
2837
+
2838
+ class Order
2839
+ # @private
2840
+ class Representation < Google::Apis::Core::JsonRepresentation
2841
+ property :buyer_address, as: 'buyerAddress', class: Google::Apis::AndroidpublisherV3::BuyerAddress, decorator: Google::Apis::AndroidpublisherV3::BuyerAddress::Representation
2842
+
2843
+ property :create_time, as: 'createTime'
2844
+ property :developer_revenue_in_buyer_currency, as: 'developerRevenueInBuyerCurrency', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation
2845
+
2846
+ property :last_event_time, as: 'lastEventTime'
2847
+ collection :line_items, as: 'lineItems', class: Google::Apis::AndroidpublisherV3::LineItem, decorator: Google::Apis::AndroidpublisherV3::LineItem::Representation
2848
+
2849
+ property :order_details, as: 'orderDetails', class: Google::Apis::AndroidpublisherV3::OrderDetails, decorator: Google::Apis::AndroidpublisherV3::OrderDetails::Representation
2850
+
2851
+ property :order_history, as: 'orderHistory', class: Google::Apis::AndroidpublisherV3::OrderHistory, decorator: Google::Apis::AndroidpublisherV3::OrderHistory::Representation
2852
+
2853
+ property :order_id, as: 'orderId'
2854
+ property :points_details, as: 'pointsDetails', class: Google::Apis::AndroidpublisherV3::PointsDetails, decorator: Google::Apis::AndroidpublisherV3::PointsDetails::Representation
2855
+
2856
+ property :purchase_token, as: 'purchaseToken'
2857
+ property :state, as: 'state'
2858
+ property :tax, as: 'tax', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation
2859
+
2860
+ property :total, as: 'total', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation
2861
+
2862
+ end
2863
+ end
2864
+
2865
+ class OrderDetails
2866
+ # @private
2867
+ class Representation < Google::Apis::Core::JsonRepresentation
2868
+ property :tax_inclusive, as: 'taxInclusive'
2869
+ end
2870
+ end
2871
+
2872
+ class OrderHistory
2873
+ # @private
2874
+ class Representation < Google::Apis::Core::JsonRepresentation
2875
+ property :cancellation_event, as: 'cancellationEvent', class: Google::Apis::AndroidpublisherV3::CancellationEvent, decorator: Google::Apis::AndroidpublisherV3::CancellationEvent::Representation
2876
+
2877
+ collection :partial_refund_events, as: 'partialRefundEvents', class: Google::Apis::AndroidpublisherV3::PartialRefundEvent, decorator: Google::Apis::AndroidpublisherV3::PartialRefundEvent::Representation
2878
+
2879
+ property :processed_event, as: 'processedEvent', class: Google::Apis::AndroidpublisherV3::ProcessedEvent, decorator: Google::Apis::AndroidpublisherV3::ProcessedEvent::Representation
2880
+
2881
+ property :refund_event, as: 'refundEvent', class: Google::Apis::AndroidpublisherV3::RefundEvent, decorator: Google::Apis::AndroidpublisherV3::RefundEvent::Representation
2882
+
2883
+ end
2884
+ end
2885
+
2690
2886
  class OtherRecurringProduct
2691
2887
  # @private
2692
2888
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2749,6 +2945,12 @@ module Google
2749
2945
  end
2750
2946
  end
2751
2947
 
2948
+ class PaidAppDetails
2949
+ # @private
2950
+ class Representation < Google::Apis::Core::JsonRepresentation
2951
+ end
2952
+ end
2953
+
2752
2954
  class PartialRefund
2753
2955
  # @private
2754
2956
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2758,6 +2960,17 @@ module Google
2758
2960
  end
2759
2961
  end
2760
2962
 
2963
+ class PartialRefundEvent
2964
+ # @private
2965
+ class Representation < Google::Apis::Core::JsonRepresentation
2966
+ property :create_time, as: 'createTime'
2967
+ property :process_time, as: 'processTime'
2968
+ property :refund_details, as: 'refundDetails', class: Google::Apis::AndroidpublisherV3::RefundDetails, decorator: Google::Apis::AndroidpublisherV3::RefundDetails::Representation
2969
+
2970
+ property :state, as: 'state'
2971
+ end
2972
+ end
2973
+
2761
2974
  class PausedStateContext
2762
2975
  # @private
2763
2976
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2771,6 +2984,17 @@ module Google
2771
2984
  end
2772
2985
  end
2773
2986
 
2987
+ class PointsDetails
2988
+ # @private
2989
+ class Representation < Google::Apis::Core::JsonRepresentation
2990
+ property :points_coupon_value, as: 'pointsCouponValue', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation
2991
+
2992
+ property :points_discount_rate_micros, :numeric_string => true, as: 'pointsDiscountRateMicros'
2993
+ property :points_offer_id, as: 'pointsOfferId'
2994
+ property :points_spent, :numeric_string => true, as: 'pointsSpent'
2995
+ end
2996
+ end
2997
+
2774
2998
  class PrepaidBasePlanType
2775
2999
  # @private
2776
3000
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2794,6 +3018,13 @@ module Google
2794
3018
  end
2795
3019
  end
2796
3020
 
3021
+ class ProcessedEvent
3022
+ # @private
3023
+ class Representation < Google::Apis::Core::JsonRepresentation
3024
+ property :event_time, as: 'eventTime'
3025
+ end
3026
+ end
3027
+
2797
3028
  class ProductPurchase
2798
3029
  # @private
2799
3030
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2835,6 +3066,26 @@ module Google
2835
3066
  end
2836
3067
  end
2837
3068
 
3069
+ class RefundDetails
3070
+ # @private
3071
+ class Representation < Google::Apis::Core::JsonRepresentation
3072
+ property :tax, as: 'tax', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation
3073
+
3074
+ property :total, as: 'total', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation
3075
+
3076
+ end
3077
+ end
3078
+
3079
+ class RefundEvent
3080
+ # @private
3081
+ class Representation < Google::Apis::Core::JsonRepresentation
3082
+ property :event_time, as: 'eventTime'
3083
+ property :refund_details, as: 'refundDetails', class: Google::Apis::AndroidpublisherV3::RefundDetails, decorator: Google::Apis::AndroidpublisherV3::RefundDetails::Representation
3084
+
3085
+ property :refund_reason, as: 'refundReason'
3086
+ end
3087
+ end
3088
+
2838
3089
  class RefundExternalTransactionRequest
2839
3090
  # @private
2840
3091
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3004,6 +3255,8 @@ module Google
3004
3255
  class Representation < Google::Apis::Core::JsonRepresentation
3005
3256
  property :full_refund, as: 'fullRefund', class: Google::Apis::AndroidpublisherV3::RevocationContextFullRefund, decorator: Google::Apis::AndroidpublisherV3::RevocationContextFullRefund::Representation
3006
3257
 
3258
+ property :item_based_refund, as: 'itemBasedRefund', class: Google::Apis::AndroidpublisherV3::RevocationContextItemBasedRefund, decorator: Google::Apis::AndroidpublisherV3::RevocationContextItemBasedRefund::Representation
3259
+
3007
3260
  property :prorated_refund, as: 'proratedRefund', class: Google::Apis::AndroidpublisherV3::RevocationContextProratedRefund, decorator: Google::Apis::AndroidpublisherV3::RevocationContextProratedRefund::Representation
3008
3261
 
3009
3262
  end
@@ -3015,6 +3268,13 @@ module Google
3015
3268
  end
3016
3269
  end
3017
3270
 
3271
+ class RevocationContextItemBasedRefund
3272
+ # @private
3273
+ class Representation < Google::Apis::Core::JsonRepresentation
3274
+ property :product_id, as: 'productId'
3275
+ end
3276
+ end
3277
+
3018
3278
  class RevocationContextProratedRefund
3019
3279
  # @private
3020
3280
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3163,6 +3423,17 @@ module Google
3163
3423
  end
3164
3424
  end
3165
3425
 
3426
+ class SubscriptionDetails
3427
+ # @private
3428
+ class Representation < Google::Apis::Core::JsonRepresentation
3429
+ property :base_plan_id, as: 'basePlanId'
3430
+ property :offer_id, as: 'offerId'
3431
+ property :offer_phase, as: 'offerPhase'
3432
+ property :service_period_end_time, as: 'servicePeriodEndTime'
3433
+ property :service_period_start_time, as: 'servicePeriodStartTime'
3434
+ end
3435
+ end
3436
+
3166
3437
  class SubscriptionItemPriceChangeDetails
3167
3438
  # @private
3168
3439
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2711,9 +2711,10 @@ module Google
2711
2711
  # specified according to the information published in [this article](https://
2712
2712
  # support.google.com/googleplay/android-developer/answer/10532353). Each time
2713
2713
  # the supported locations substantially change, the version will be incremented.
2714
- # Using this field will ensure that creating and updating the resource with an
2715
- # older region's version and set of regional prices and currencies will succeed
2716
- # even though a new version is available. The latest version is 2022/02.
2714
+ # The latest supported version is available in this article. Using this field
2715
+ # will ensure that creating and updating the resource with an older region's
2716
+ # version and set of regional prices and currencies will succeed even though a
2717
+ # new version is available.
2717
2718
  # @param [String] fields
2718
2719
  # Selector specifying which fields to include in a partial response.
2719
2720
  # @param [String] quota_user
@@ -2878,9 +2879,10 @@ module Google
2878
2879
  # specified according to the information published in [this article](https://
2879
2880
  # support.google.com/googleplay/android-developer/answer/10532353). Each time
2880
2881
  # the supported locations substantially change, the version will be incremented.
2881
- # Using this field will ensure that creating and updating the resource with an
2882
- # older region's version and set of regional prices and currencies will succeed
2883
- # even though a new version is available. The latest version is 2022/02.
2882
+ # The latest supported version is available in this article. Using this field
2883
+ # will ensure that creating and updating the resource with an older region's
2884
+ # version and set of regional prices and currencies will succeed even though a
2885
+ # new version is available.
2884
2886
  # @param [String] update_mask
2885
2887
  # Required. The list of fields to be updated.
2886
2888
  # @param [String] fields
@@ -3359,9 +3361,10 @@ module Google
3359
3361
  # specified according to the information published in [this article](https://
3360
3362
  # support.google.com/googleplay/android-developer/answer/10532353). Each time
3361
3363
  # the supported locations substantially change, the version will be incremented.
3362
- # Using this field will ensure that creating and updating the resource with an
3363
- # older region's version and set of regional prices and currencies will succeed
3364
- # even though a new version is available. The latest version is 2022/02.
3364
+ # The latest supported version is available in this article. Using this field
3365
+ # will ensure that creating and updating the resource with an older region's
3366
+ # version and set of regional prices and currencies will succeed even though a
3367
+ # new version is available.
3365
3368
  # @param [String] fields
3366
3369
  # Selector specifying which fields to include in a partial response.
3367
3370
  # @param [String] quota_user
@@ -3593,9 +3596,10 @@ module Google
3593
3596
  # specified according to the information published in [this article](https://
3594
3597
  # support.google.com/googleplay/android-developer/answer/10532353). Each time
3595
3598
  # the supported locations substantially change, the version will be incremented.
3596
- # Using this field will ensure that creating and updating the resource with an
3597
- # older region's version and set of regional prices and currencies will succeed
3598
- # even though a new version is available. The latest version is 2022/02.
3599
+ # The latest supported version is available in this article. Using this field
3600
+ # will ensure that creating and updating the resource with an older region's
3601
+ # version and set of regional prices and currencies will succeed even though a
3602
+ # new version is available.
3599
3603
  # @param [String] update_mask
3600
3604
  # Required. The list of fields to be updated.
3601
3605
  # @param [String] fields
@@ -3634,6 +3638,78 @@ module Google
3634
3638
  execute_or_queue_command(command, &block)
3635
3639
  end
3636
3640
 
3641
+ # Get order details for a list of orders.
3642
+ # @param [String] package_name
3643
+ # Required. The package name of the application for which this subscription or
3644
+ # in-app item was purchased (for example, 'com.some.thing').
3645
+ # @param [Array<String>, String] order_ids
3646
+ # Required. The list of order IDs to retrieve order details for. There must be
3647
+ # between 1 and 1000 (inclusive) order IDs per request. If any order ID is not
3648
+ # found or does not match the provided package, the entire request will fail
3649
+ # with an error. The order IDs must be distinct.
3650
+ # @param [String] fields
3651
+ # Selector specifying which fields to include in a partial response.
3652
+ # @param [String] quota_user
3653
+ # Available to use for quota purposes for server-side applications. Can be any
3654
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3655
+ # @param [Google::Apis::RequestOptions] options
3656
+ # Request-specific options
3657
+ #
3658
+ # @yield [result, err] Result & error if block supplied
3659
+ # @yieldparam result [Google::Apis::AndroidpublisherV3::BatchGetOrdersResponse] parsed result object
3660
+ # @yieldparam err [StandardError] error object if request failed
3661
+ #
3662
+ # @return [Google::Apis::AndroidpublisherV3::BatchGetOrdersResponse]
3663
+ #
3664
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3665
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3666
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3667
+ def batchget_order(package_name, order_ids: nil, fields: nil, quota_user: nil, options: nil, &block)
3668
+ command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/orders:batchGet', options)
3669
+ command.response_representation = Google::Apis::AndroidpublisherV3::BatchGetOrdersResponse::Representation
3670
+ command.response_class = Google::Apis::AndroidpublisherV3::BatchGetOrdersResponse
3671
+ command.params['packageName'] = package_name unless package_name.nil?
3672
+ command.query['orderIds'] = order_ids unless order_ids.nil?
3673
+ command.query['fields'] = fields unless fields.nil?
3674
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3675
+ execute_or_queue_command(command, &block)
3676
+ end
3677
+
3678
+ # Get order details for a single order.
3679
+ # @param [String] package_name
3680
+ # Required. The package name of the application for which this subscription or
3681
+ # in-app item was purchased (for example, 'com.some.thing').
3682
+ # @param [String] order_id
3683
+ # Required. The order ID provided to the user when the subscription or in-app
3684
+ # order was purchased.
3685
+ # @param [String] fields
3686
+ # Selector specifying which fields to include in a partial response.
3687
+ # @param [String] quota_user
3688
+ # Available to use for quota purposes for server-side applications. Can be any
3689
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3690
+ # @param [Google::Apis::RequestOptions] options
3691
+ # Request-specific options
3692
+ #
3693
+ # @yield [result, err] Result & error if block supplied
3694
+ # @yieldparam result [Google::Apis::AndroidpublisherV3::Order] parsed result object
3695
+ # @yieldparam err [StandardError] error object if request failed
3696
+ #
3697
+ # @return [Google::Apis::AndroidpublisherV3::Order]
3698
+ #
3699
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3700
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3701
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3702
+ def get_order(package_name, order_id, fields: nil, quota_user: nil, options: nil, &block)
3703
+ command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/orders/{orderId}', options)
3704
+ command.response_representation = Google::Apis::AndroidpublisherV3::Order::Representation
3705
+ command.response_class = Google::Apis::AndroidpublisherV3::Order
3706
+ command.params['packageName'] = package_name unless package_name.nil?
3707
+ command.params['orderId'] = order_id unless order_id.nil?
3708
+ command.query['fields'] = fields unless fields.nil?
3709
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3710
+ execute_or_queue_command(command, &block)
3711
+ end
3712
+
3637
3713
  # Refunds a user's subscription or in-app purchase order. Orders older than 3
3638
3714
  # years cannot be refunded.
3639
3715
  # @param [String] package_name
@@ -3898,8 +3974,8 @@ module Google
3898
3974
  execute_or_queue_command(command, &block)
3899
3975
  end
3900
3976
 
3901
- # Checks whether a user's subscription purchase is valid and returns its expiry
3902
- # time.
3977
+ # Deprecated: Use purchases.subscriptionsv2.get instead. Checks whether a user's
3978
+ # subscription purchase is valid and returns its expiry time.
3903
3979
  # @param [String] package_name
3904
3980
  # The package name of the application for which this subscription was purchased (
3905
3981
  # for example, 'com.some.thing').
@@ -3936,8 +4012,9 @@ module Google
3936
4012
  execute_or_queue_command(command, &block)
3937
4013
  end
3938
4014
 
3939
- # Refunds a user's subscription purchase, but the subscription remains valid
3940
- # until its expiration time and it will continue to recur.
4015
+ # Deprecated: Use orders.refund instead. Refunds a user's subscription purchase,
4016
+ # but the subscription remains valid until its expiration time and it will
4017
+ # continue to recur.
3941
4018
  # @param [String] package_name
3942
4019
  # The package name of the application for which this subscription was purchased (
3943
4020
  # for example, 'com.some.thing').
@@ -3972,8 +4049,9 @@ module Google
3972
4049
  execute_or_queue_command(command, &block)
3973
4050
  end
3974
4051
 
3975
- # Refunds and immediately revokes a user's subscription purchase. Access to the
3976
- # subscription will be terminated immediately and it will stop recurring.
4052
+ # Deprecated: Use purchases.subscriptionsv2.revoke instead. Refunds and
4053
+ # immediately revokes a user's subscription purchase. Access to the subscription
4054
+ # will be terminated immediately and it will stop recurring.
3977
4055
  # @param [String] package_name
3978
4056
  # The package name of the application for which this subscription was purchased (
3979
4057
  # for example, 'com.some.thing').
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-androidpublisher_v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.79.0
4
+ version: 0.80.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-androidpublisher_v3/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-androidpublisher_v3/v0.79.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-androidpublisher_v3/v0.80.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-androidpublisher_v3
62
62
  rdoc_options: []
63
63
  require_paths:
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.8
76
+ rubygems_version: 3.6.9
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Google Play Android Developer API V3
79
79
  test_files: []