Sha256: 435b98bf1cd6d21f05a89f887d648e9e0020cbd910ff191655437b0948bc7291

Contents?: true

Size: 580 Bytes

Versions: 5

Compression:

Stored size: 580 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.3.0 lib/gateway/CreditCardTransaction/credit_card_transaction_options.rb
stone_ecommerce-1.2.4 lib/gateway/CreditCardTransaction/credit_card_transaction_options.rb
mundipagg_sdk-1.2.4 lib/gateway/CreditCardTransaction/credit_card_transaction_options.rb
mundipagg_sdk-1.2.3 lib/gateway/CreditCardTransaction/credit_card_transaction_options.rb
mundipagg_sdk-1.2.3rc lib/gateway/CreditCardTransaction/credit_card_transaction_options.rb