Class: HostConnect::GetBookingPaymentSummaryBuilder
- Inherits:
-
AbstractBuilder
- Object
- AbstractBuilder
- HostConnect::GetBookingPaymentSummaryBuilder
- Defined in:
- lib/hostconnect/builders/get_booking_payment_summary_builder.rb
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ GetBookingPaymentSummaryBuilder
constructor
A new instance of GetBookingPaymentSummaryBuilder.
- #to_xml ⇒ Object
Methods inherited from AbstractBuilder
Constructor Details
#initialize(options = {}) ⇒ GetBookingPaymentSummaryBuilder
Returns a new instance of GetBookingPaymentSummaryBuilder.
3 4 5 6 |
# File 'lib/hostconnect/builders/get_booking_payment_summary_builder.rb', line 3 def initialize( = {}) @valid_options = [ :agent_id, :password, :booking_id ].freeze super() end |
Instance Method Details
#to_xml ⇒ Object
8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/hostconnect/builders/get_booking_payment_summary_builder.rb', line 8 def to_xml x = x.Request { x.GetBookingPaymentSummaryRequest { x.AgentID @agent_id x.Password @password x.BookingId @booking_id } } x end |