Sha256: f0b64028156b2ea10483115728a89f11a38793eea04c32a50d690237204780c8

Contents?: true

Size: 500 Bytes

Versions: 4

Compression:

Stored size: 500 Bytes

Contents

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

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
stone_ecommerce-1.0.3 lib/gateway/CreditCardTransaction/credit_card_transaction_options.rb
mundipagg_sdk-1.0.3 lib/gateway/CreditCardTransaction/credit_card_transaction_options.rb
stone_ecommerce-1.0.2 lib/gateway/CreditCardTransaction/credit_card_transaction_options.rb
stone_ecommerce-1.0.0 lib/gateway/CreditCardTransaction/credit_card_transaction_options.rb