class Webpay

Public Class Methods

new(params) click to toggle source

método inicializar clase

# File lib/webpay.rb, line 21
def initialize(params)
  @configuration = params
end

Public Instance Methods

getCaptureTransaction() click to toggle source
# File lib/webpay.rb, line 46
def getCaptureTransaction
  if @webpayCapture == nil
    @webpayCapture = WebpayCapture.new(@configuration)
  end
  return @webpayCapture
end
getCompleteTransaction() click to toggle source
# File lib/webpay.rb, line 60
def getCompleteTransaction
  if @webpayCompleteTransaction == nil
    @webpayCompleteTransaction = WebpayComplete.new(@configuration)
  end
  return @webpayCompleteTransaction
end
getMallNormalTransaction() click to toggle source
# File lib/webpay.rb, line 32
def getMallNormalTransaction
  if @webpayMallNormal == nil
    @webpayMallNormal = WebpayMallNormal.new(@configuration)
  end
  return @webpayMallNormal
end
getNormalTransaction() click to toggle source
# File lib/webpay.rb, line 25
def getNormalTransaction
  if @webpayNormal == nil
    @webpayNormal = WebpayNormal.new(@configuration)
  end
  return @webpayNormal
end
getNullifyTransaction() click to toggle source
# File lib/webpay.rb, line 39
def getNullifyTransaction
  if @webpayNullify == nil
    @webpayNullify = WebpayNullify.new(@configuration)
  end
  return @webpayNullify
end
getOneClickTransaction() click to toggle source
# File lib/webpay.rb, line 53
def getOneClickTransaction
  if @webpayOneClick == nil
    @webpayOneClick = WebpayOneClick.new(@configuration)
  end
  return @webpayOneClick
end