Sha256: 22ec1bb17cd0d2e3cbf687657cfea9ac6188a7f2e63b54a07b7c45ac04a40390

Contents?: true

Size: 1.75 KB

Versions: 2

Compression:

Stored size: 1.75 KB

Contents

module Cobrato
  module Entities
    class ChargeConfig < Base
      attribute :id,                        Integer
      attribute :name,                      String
      attribute :type,                      String
      attribute :status,                    String
      attribute :payee_id,                  String
      attribute :available_charge_types,    Array
      attribute :deactivated_at,            DateTime
      attribute :timezone,                  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 :next_number,               Integer
      attribute :end_number,                Integer
      attribute :registered_charges,        Boolean
      attribute :remittance_agreement_code, Integer
      attribute :initial_remittance_number, Integer
      attribute :current_remittance_number, Integer
      attribute :remittance_cnab_pattern,   Integer
      attribute :transmission_code,         String
      attribute :pre_released_billet,       Boolean
      attribute :writing_off_deadline,      Integer

      # payment gateway specifics
      attribute :gateway_name,              String
      attribute :gateway_id,                String
      attribute :gateway_key,               String
      attribute :billet_gateway_id,         String
      attribute :billet_gateway_key,        String
      attribute :account_holder,            Boolean
      attribute :use_avs,                   Boolean
      attribute :logo,                      Hash
      attribute :logo_url,                  String
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cobrato-client-1.1.7 lib/cobrato/entities/charge_config.rb
cobrato-client-1.1.6 lib/cobrato/entities/charge_config.rb