Class: Google::Apis::AndroidpublisherV3::OfferDetails
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::AndroidpublisherV3::OfferDetails
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/androidpublisher_v3/classes.rb,
lib/google/apis/androidpublisher_v3/representations.rb,
lib/google/apis/androidpublisher_v3/representations.rb 
Overview
Offer details information related to a purchase line item.
Instance Attribute Summary collapse
- 
  
    
      #base_plan_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The base plan ID.
 - 
  
    
      #offer_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The offer ID.
 - 
  
    
      #offer_tags  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The latest offer tags associated with the offer.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ OfferDetails 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of OfferDetails.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ OfferDetails
Returns a new instance of OfferDetails.
      3948 3949 3950  | 
    
      # File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3948 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#base_plan_id ⇒ String
The base plan ID. Present for all base plan and offers.
Corresponds to the JSON property basePlanId
      3935 3936 3937  | 
    
      # File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3935 def base_plan_id @base_plan_id end  | 
  
#offer_id ⇒ String
The offer ID. Only present for discounted offers.
Corresponds to the JSON property offerId
      3940 3941 3942  | 
    
      # File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3940 def offer_id @offer_id end  | 
  
#offer_tags ⇒ Array<String>
The latest offer tags associated with the offer. It includes tags inherited
from the base plan.
Corresponds to the JSON property offerTags
      3946 3947 3948  | 
    
      # File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3946 def @offer_tags end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      3953 3954 3955 3956 3957  | 
    
      # File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3953 def update!(**args) @base_plan_id = args[:base_plan_id] if args.key?(:base_plan_id) @offer_id = args[:offer_id] if args.key?(:offer_id) @offer_tags = args[:offer_tags] if args.key?(:offer_tags) end  |