Sha256: 336b08e3b81686b39bd18964be673de61dd82b9d681c76c4db1d9c04d32c0b31

Contents?: true

Size: 875 Bytes

Versions: 35

Compression:

Stored size: 875 Bytes

Contents

module NetSuite
  module Records
    class PaymentMethod
      include Support::Fields
      include Support::RecordRefs
      include Support::Records
      include Support::Actions
      include Namespaces::ListAcct

      actions :add, :delete, :get, :get_list, :search, :update, :upsert, :upsert_list

      fields :credit_card, :express_checkout_arrangement, :is_debit_card, :is_inactive, :is_online, :name,
        :pay_pal_email_address, :undep_funds, :use_express_checkout

      record_ref :account

      attr_reader :internal_id
      attr_accessor :external_id

      def initialize(attributes = {})
        @internal_id = attributes.delete(:internal_id) || attributes.delete(:@internal_id)
        @external_id = attributes.delete(:external_id) || attributes.delete(:@external_id)
        initialize_from_attributes_hash(attributes)
      end

    end
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
netsuite-0.9.3 lib/netsuite/records/payment_method.rb
netsuite-0.9.2 lib/netsuite/records/payment_method.rb
netsuite-0.9.1 lib/netsuite/records/payment_method.rb
netsuite-0.9.0 lib/netsuite/records/payment_method.rb
netsuite-0.8.12 lib/netsuite/records/payment_method.rb
netsuite-0.8.11 lib/netsuite/records/payment_method.rb
netsuite-0.8.10 lib/netsuite/records/payment_method.rb
netsuite-0.8.9 lib/netsuite/records/payment_method.rb
netsuite-0.8.8 lib/netsuite/records/payment_method.rb
netsuite-0.8.7 lib/netsuite/records/payment_method.rb
netsuite-0.8.6 lib/netsuite/records/payment_method.rb
netsuite-0.8.5 lib/netsuite/records/payment_method.rb
netsuite-0.8.4 lib/netsuite/records/payment_method.rb
netsuite-0.8.3 lib/netsuite/records/payment_method.rb
netsuite-0.8.2 lib/netsuite/records/payment_method.rb
netsuite-0.8.1 lib/netsuite/records/payment_method.rb
netsuite-0.8.0 lib/netsuite/records/payment_method.rb
netsuite-0.7.9 lib/netsuite/records/payment_method.rb
netsuite-0.7.8 lib/netsuite/records/payment_method.rb
netsuite-0.7.7 lib/netsuite/records/payment_method.rb