Sha256: 15516005f1e677f6151f5ff469cd9cca14f5fbf36360c79522dfbf886bb3a8bf

Contents?: true

Size: 552 Bytes

Versions: 5

Compression:

Stored size: 552 Bytes

Contents

module Gateway

  class CreditCardTransactionOptions

    attr_accessor :PaymentMethodCode

    attr_accessor :CurrencyIso

    attr_accessor :IataAmountInCents

    attr_accessor :CaptureDelayInMinutes

    attr_accessor :MerchantCategoryCode

    attr_accessor :SoftDescriptorText

    attr_accessor :InterestRate

    attr_accessor :ExtendedLimitEnabled

    attr_accessor :ExtendedLimitCode

    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/CreditCardTransaction/credit_card_transaction_options.rb
stone_ecommerce-1.4.0 lib/gateway/CreditCardTransaction/credit_card_transaction_options.rb
mundipagg_sdk-1.4.0 lib/gateway/CreditCardTransaction/credit_card_transaction_options.rb
stone_ecommerce-1.3.0 lib/gateway/CreditCardTransaction/credit_card_transaction_options.rb
stone_ecommerce-1.2.3 lib/gateway/CreditCardTransaction/credit_card_transaction_options.rb