Class: GolfSwitch::CancelGolfResponse
- Inherits:
-
GolfBookInfo
- Object
- GolfBookInfo
- GolfSwitch::CancelGolfResponse
- Defined in:
- lib/golf_switch/cancel_golf_response.rb
Instance Attribute Summary collapse
-
#cancellation_no ⇒ Object
Returns the value of attribute cancellation_no.
-
#confirmation_no ⇒ Object
Returns the value of attribute confirmation_no.
-
#tot_cc_credited ⇒ Object
Returns the value of attribute tot_cc_credited.
-
#tot_voucher_charged ⇒ Object
Returns the value of attribute tot_voucher_charged.
-
#tot_voucher_credited ⇒ Object
Returns the value of attribute tot_voucher_credited.
Attributes inherited from GolfBookInfo
#charge_curr, #course_id, #course_name, #course_xid, #curr_charged, #greens_fee_curr, #players, #res_name, #ret_cd, #ret_msg, #tee_date, #tee_time, #tot_cc_charged, #tot_greens_fee, #tot_non_refundable, #tot_trans_fee
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ CancelGolfResponse
constructor
A new instance of CancelGolfResponse.
Constructor Details
#initialize(attributes = {}) ⇒ CancelGolfResponse
Returns a new instance of CancelGolfResponse.
6 7 8 9 10 11 12 13 14 |
# File 'lib/golf_switch/cancel_golf_response.rb', line 6 def initialize(attributes={}) attributes.each do |name, value| begin send("#{name}=", value) rescue puts "Add #{name} as accessor in Cancel Golf Response" end end end |
Instance Attribute Details
#cancellation_no ⇒ Object
Returns the value of attribute cancellation_no.
3 4 5 |
# File 'lib/golf_switch/cancel_golf_response.rb', line 3 def cancellation_no @cancellation_no end |
#confirmation_no ⇒ Object
Returns the value of attribute confirmation_no.
3 4 5 |
# File 'lib/golf_switch/cancel_golf_response.rb', line 3 def confirmation_no @confirmation_no end |
#tot_cc_credited ⇒ Object
Returns the value of attribute tot_cc_credited.
3 4 5 |
# File 'lib/golf_switch/cancel_golf_response.rb', line 3 def tot_cc_credited @tot_cc_credited end |
#tot_voucher_charged ⇒ Object
Returns the value of attribute tot_voucher_charged.
3 4 5 |
# File 'lib/golf_switch/cancel_golf_response.rb', line 3 def tot_voucher_charged @tot_voucher_charged end |
#tot_voucher_credited ⇒ Object
Returns the value of attribute tot_voucher_credited.
3 4 5 |
# File 'lib/golf_switch/cancel_golf_response.rb', line 3 def tot_voucher_credited @tot_voucher_credited end |