class EwayRapid::CapturePaymentRequest

Attributes

payment[RW]
transaction_id[RW]

Public Instance Methods

to_json(options={}) click to toggle source
# File lib/eway_rapid/entities/capture_payment_request.rb, line 6
def to_json(options={})
  {Constants::REQUEST_TRANSACTION_ID  => transaction_id,
   Constants::PAYMENT                 => InternalModels::Payment.to_hash(payment)}.to_json
end