Class: Google::Apis::ContentV2::Installment
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ContentV2::Installment
 
- Defined in:
- generated/google/apis/content_v2/classes.rb,
 generated/google/apis/content_v2/representations.rb,
 generated/google/apis/content_v2/representations.rb
Instance Attribute Summary collapse
- 
  
    
      #amount  ⇒ Google::Apis::ContentV2::Price 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The amount the buyer has to pay per month. 
- 
  
    
      #months  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The number of installments the buyer has to pay. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Installment 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Installment. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ Installment
Returns a new instance of Installment
| 2241 2242 2243 | # File 'generated/google/apis/content_v2/classes.rb', line 2241 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#amount ⇒ Google::Apis::ContentV2::Price
The amount the buyer has to pay per month.
Corresponds to the JSON property amount
| 2234 2235 2236 | # File 'generated/google/apis/content_v2/classes.rb', line 2234 def amount @amount end | 
#months ⇒ Fixnum
The number of installments the buyer has to pay.
Corresponds to the JSON property months
| 2239 2240 2241 | # File 'generated/google/apis/content_v2/classes.rb', line 2239 def months @months end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 2246 2247 2248 2249 | # File 'generated/google/apis/content_v2/classes.rb', line 2246 def update!(**args) @amount = args[:amount] if args.key?(:amount) @months = args[:months] if args.key?(:months) end |