Class: Vpago::VattanacMiniApp::Checkout

Inherits:
Base
  • Object
show all
Defined in:
lib/vpago/vattanac_mini_app/checkout.rb

Instance Method Summary collapse

Methods inherited from Base

#amount, #currency, #encrypt_data, #expired_at, #initialize, #partner_code, #payload, #payment_id, #refund_url, #transaction_id

Constructor Details

This class inherits a constructor from Vpago::VattanacMiniApp::Base

Instance Method Details

#signed_payloadObject



4
5
6
# File 'lib/vpago/vattanac_mini_app/checkout.rb', line 4

def signed_payload 
  Vpago::VattanacMiniAppDataHandler.new.encrypted_data(payload)
end