Class: Ebanx::Command::GetMerchantSettlementExtract
- Defined in:
- lib/ebanx/command/get_merchant_settlement_extract.rb
Instance Attribute Summary
Attributes inherited from Command
#params, #request_action, #request_body, #request_method, #response_type
Instance Method Summary collapse
-
#initialize(params) ⇒ GetMerchantSettlementExtract
constructor
A new instance of GetMerchantSettlementExtract.
- #validate ⇒ Object
Methods inherited from Command
Constructor Details
#initialize(params) ⇒ GetMerchantSettlementExtract
Returns a new instance of GetMerchantSettlementExtract.
4 5 6 7 8 9 |
# File 'lib/ebanx/command/get_merchant_settlement_extract.rb', line 4 def initialize(params) @params = params @request_method = :post @request_action = 'merchantSettlement/getExtract' @response_type = :json end |
Instance Method Details
#validate ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/ebanx/command/get_merchant_settlement_extract.rb', line 11 def validate validate_presence :country_abbreviation validate_presence :currency_code validate_presence :date_field validate_presence :date validate_presence :hour end |