Sha256: 3abf97a0429e513b4833b9e4e3396108a677e4ac40e24af9f10dbc77618a1ce2

Contents?: true

Size: 1.35 KB

Versions: 2

Compression:

Stored size: 1.35 KB

Contents

module Cobrato
  module Entities
    class ChargeConfig < Base
      attribute :id,                        Integer
      attribute :name,                      String
      attribute :type,                      String
      attribute :status,                    String

      # billet specifics
      attribute :bank_account_id,           Integer
      attribute :portfolio_code,            String
      attribute :agreement_code,            String
      attribute :agreement_code_digit,      String
      attribute :initial_number,            Integer
      attribute :current_number,            Integer
      attribute :end_number,                Integer
      attribute :registered_charges,        Boolean
      attribute :agreement_number,          Integer
      attribute :initial_remittance_number, Integer
      attribute :current_remittance_number, Integer
      attribute :remittance_cnab_pattern,   Integer
      attribute :interest_amount_per_month, Decimal
      attribute :mulct_type,                String
      attribute :mulct_value,               Decimal
      attribute :transmission_code,         String

      # payment gateway specifics
      attribute :gateway_name,              String
      attribute :gateway_id,                String
      attribute :gateway_key,               String
      attribute :use_avs,                   Boolean
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cobrato-client-0.4.0 lib/cobrato/entities/charge_config.rb
cobrato-client-0.4.0.rc1 lib/cobrato/entities/charge_config.rb