Class: Google::Apis::PartnersV2::CountryOfferInfo
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::PartnersV2::CountryOfferInfo
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/partners_v2/classes.rb,
 generated/google/apis/partners_v2/representations.rb,
 generated/google/apis/partners_v2/representations.rb
Overview
Offer info by country.
Instance Attribute Summary collapse
- 
  
    
      #get_y_amount  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    (localized) Get Y amount for that country's offer. 
- 
  
    
      #offer_country_code  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Country code for which offer codes may be requested. 
- 
  
    
      #offer_type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Type of offer country is eligible for. 
- 
  
    
      #spend_x_amount  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    (localized) Spend X amount for that country's offer. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ CountryOfferInfo 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of CountryOfferInfo. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CountryOfferInfo
Returns a new instance of CountryOfferInfo
| 657 658 659 | # File 'generated/google/apis/partners_v2/classes.rb', line 657 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#get_y_amount ⇒ String
(localized) Get Y amount for that country's offer.
Corresponds to the JSON property getYAmount
| 640 641 642 | # File 'generated/google/apis/partners_v2/classes.rb', line 640 def get_y_amount @get_y_amount end | 
#offer_country_code ⇒ String
Country code for which offer codes may be requested.
Corresponds to the JSON property offerCountryCode
| 645 646 647 | # File 'generated/google/apis/partners_v2/classes.rb', line 645 def offer_country_code @offer_country_code end | 
#offer_type ⇒ String
Type of offer country is eligible for.
Corresponds to the JSON property offerType
| 650 651 652 | # File 'generated/google/apis/partners_v2/classes.rb', line 650 def offer_type @offer_type end | 
#spend_x_amount ⇒ String
(localized) Spend X amount for that country's offer.
Corresponds to the JSON property spendXAmount
| 655 656 657 | # File 'generated/google/apis/partners_v2/classes.rb', line 655 def spend_x_amount @spend_x_amount end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 662 663 664 665 666 667 | # File 'generated/google/apis/partners_v2/classes.rb', line 662 def update!(**args) @get_y_amount = args[:get_y_amount] if args.key?(:get_y_amount) @offer_country_code = args[:offer_country_code] if args.key?(:offer_country_code) @offer_type = args[:offer_type] if args.key?(:offer_type) @spend_x_amount = args[:spend_x_amount] if args.key?(:spend_x_amount) end |