Sha256: f48c6c455704fae9a3110d90c6b40c7ae8fb55432e991c69d6839b73ede18c78

Contents?: true

Size: 1.06 KB

Versions: 2

Compression:

Stored size: 1.06 KB

Contents

module NetSuite
  module Records
    class CustomerRefund
      include Support::Fields
      include Support::RecordRefs
      include Support::Records
      include Support::Actions
      include Namespaces::TranCust

      actions :get, :initialize, :add

      fields :address, :balance, :cc_approved, :cc_expire_date, :cc_name, :cc_number, :cc_street, :cc_zip_code, :charge_it,
        :created_date, :currency_name, :debit_card_issue_no, :exchange_rate, :last_modified_date, :memo, :pn_ref_num, :status,
        :to_be_printed, :tran_date, :tran_id, :valid_from

      field :custom_field_list, CustomFieldList
      field :apply_list,        CustomerRefundApplyList
      field :deposit_list,      CustomerRefundDepositList

      read_only_fields :total

      record_refs :account, :ar_acct, :credit_card, :credit_card_processor, :custom_form, :customer, :department, :klass,
        :location, :payment_method, :posting_period, :subsidiary, :void_journal

      def initialize(attributes = {})
        initialize_from_attributes_hash(attributes)
      end

    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
netsuite-0.0.26 lib/netsuite/records/customer_refund.rb
netsuite-0.0.25 lib/netsuite/records/customer_refund.rb