Sha256: 60091a5778d1ebad2dbd83c84a871875cd2c8336a059dcd837b0307a3508978b

Contents?: true

Size: 579 Bytes

Versions: 5

Compression:

Stored size: 579 Bytes

Contents

module Gateway
  class CreateInstantBuyDataRequest
    attr_accessor :IsOneDollarAuthEnabled

    attr_accessor :CreditCardNumber

    attr_accessor :HolderName

    attr_accessor :SecurityCode

    attr_accessor :ExpMonth

    attr_accessor :ExpYear

    attr_accessor :CreditCardBrand

    attr_accessor :BillingAddress

    attr_accessor :BuyerKey

    def initialize
      @BillingAddress = BillingAddress.new
    end

    def to_json
      hash = {}
      instance_variables.each { |var| hash[var.to_s.delete('@')] = instance_variable_get(var) }
      hash
    end
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
mundipagg_sdk-1.4.1 lib/gateway/InstantBuyData/create_instant_buy_data_request.rb
stone_ecommerce-1.4.0 lib/gateway/InstantBuyData/create_instant_buy_data_request.rb
mundipagg_sdk-1.4.0 lib/gateway/InstantBuyData/create_instant_buy_data_request.rb
stone_ecommerce-1.3.0 lib/gateway/InstantBuyData/create_instant_buy_data_request.rb
stone_ecommerce-1.2.3 lib/gateway/InstantBuyData/create_instant_buy_data_request.rb