Class: ObiWan::Type::RegisterOfferSubscription

Inherits:
Builder
  • Object
show all
Defined in:
lib/obi-wan/type.rb

Overview

some api calls have misc data. it’s easier to group them as single classes

Instance Attribute Summary collapse

Method Summary

Methods inherited from Builder

#initialize

Constructor Details

This class inherits a constructor from ObiWan::Type::Builder

Instance Attribute Details

#contact_emailObject

Returns the value of attribute contact_email.



17
18
19
# File 'lib/obi-wan/type.rb', line 17

def contact_email
  @contact_email
end

#discount_amountObject

Returns the value of attribute discount_amount.



18
19
20
# File 'lib/obi-wan/type.rb', line 18

def discount_amount
  @discount_amount
end

#event_sourceObject

Returns the value of attribute event_source.



15
16
17
# File 'lib/obi-wan/type.rb', line 15

def event_source
  @event_source
end

#offer_idObject

Returns the value of attribute offer_id.



14
15
16
# File 'lib/obi-wan/type.rb', line 14

def offer_id
  @offer_id
end

#payment_instrument_idObject

Returns the value of attribute payment_instrument_id.



16
17
18
# File 'lib/obi-wan/type.rb', line 16

def payment_instrument_id
  @payment_instrument_id
end

#promo_codeObject

Returns the value of attribute promo_code.



19
20
21
# File 'lib/obi-wan/type.rb', line 19

def promo_code
  @promo_code
end

#tos_accepted_dateObject

Returns the value of attribute tos_accepted_date.



20
21
22
# File 'lib/obi-wan/type.rb', line 20

def tos_accepted_date
  @tos_accepted_date
end

#tos_nameObject

Returns the value of attribute tos_name.



21
22
23
# File 'lib/obi-wan/type.rb', line 21

def tos_name
  @tos_name
end