google-apis-androidpublisher_v3 0.79.0 → 0.81.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.81.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.17.0"
22
+ GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250318"
25
+ REVISION = "20250529"
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
@@ -3282,6 +3553,7 @@ module Google
3282
3553
  property :deferred_item_replacement, as: 'deferredItemReplacement', class: Google::Apis::AndroidpublisherV3::DeferredItemReplacement, decorator: Google::Apis::AndroidpublisherV3::DeferredItemReplacement::Representation
3283
3554
 
3284
3555
  property :expiry_time, as: 'expiryTime'
3556
+ property :latest_successful_order_id, as: 'latestSuccessfulOrderId'
3285
3557
  property :offer_details, as: 'offerDetails', class: Google::Apis::AndroidpublisherV3::OfferDetails, decorator: Google::Apis::AndroidpublisherV3::OfferDetails::Representation
3286
3558
 
3287
3559
  property :prepaid_plan, as: 'prepaidPlan', class: Google::Apis::AndroidpublisherV3::PrepaidPlan, decorator: Google::Apis::AndroidpublisherV3::PrepaidPlan::Representation