Class: Stripe::V2::Billing::ContractUpdateParams::PricingOverrideAction::Update

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/v2/billing/contract_update_params.rb

Defined Under Namespace

Classes: EndsAt, StartsAt

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

#initialize(ends_at: nil, id: nil, metadata: nil, starts_at: nil) ⇒ Update

Returns a new instance of Update.



707
708
709
710
711
712
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 707

def initialize(ends_at: nil, id: nil, metadata: nil, starts_at: nil)
  @ends_at = ends_at
  @id = id
  @metadata = 
  @starts_at = starts_at
end

Instance Attribute Details

#ends_atObject

The updated end time for the pricing override.



699
700
701
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 699

def ends_at
  @ends_at
end

#idObject

The ID of the pricing override.



701
702
703
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 701

def id
  @id
end

#metadataObject

Metadata mutations to apply to the pricing override.



703
704
705
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 703

def 
  @metadata
end

#starts_atObject

The updated start time for the pricing override.



705
706
707
# File 'lib/stripe/params/v2/billing/contract_update_params.rb', line 705

def starts_at
  @starts_at
end