class CcbConnectClient::PaymentDetailsQueryRequest
Attributes
account[RW]
dexcel[RW]
end_day[RW]
end_hour[RW]
end_min[RW]
kind[RW]
money[RW]
mrch_no[RW]
norderby[RW]
order[RW]
page[RW]
pos_code[RW]
start_day[RW]
start_hour[RW]
start_min[RW]
status[RW]
Public Class Methods
new()
click to toggle source
Calls superclass method
CcbConnectClient::BaseRequest::new
# File lib/ccb_connect_client/models/payment_details_query_request.rb, line 9 def initialize super @tx_code = '5W1002' end
Public Instance Methods
to_xml()
click to toggle source
# File lib/ccb_connect_client/models/payment_details_query_request.rb, line 14 def to_xml xml = Builder::XmlMarkup.new(:indent=>2) xml.instruct! :xml, :version=>"1.0", :encoding=>"GB2312" xml.TX{ xml.REQUEST_SN "#{@request_sn}" xml.CUST_ID "#{CcbConnectClient.cust_id}" xml.USER_ID"#{CcbConnectClient.user_id}" xml.PASSWORD "#{CcbConnectClient.password}" xml.TX_CODE "#{@tx_code}" xml.LANGUAGE "#{CcbConnectClient.language}" xml.TX_INFO{ xml.START "#{@start_day}" xml.STARTHOUR "#{@start_hour}" xml.STARTMIN "#{@start_min}" xml.END "#{@end_day}" xml.ENDHOUR "#{@end_hour}" xml.ENDMIN "#{@end_min}" xml.KIND "#{@kind}" xml.ORDER "#{@order}" xml.ACCOUNT "#{@account}" xml.DEXCEL "#{@dexcel}" xml.MONEY "#{@money}" xml.NORDERBY "#{@norderby}" xml.PAGE "#{@page}" xml.POS_CODE "#{@pos_code}" xml.STATUS "#{@status}" xml.Mrch_No "#{@mrch_no}" } } target = xml.target! end