Class: UpsIncorrectV1471aChargeData

Inherits:
ApplicationRecord show all
Defined in:
app/models/ups_incorrect_v1471a_charge_data.rb

Overview

== Schema Information

Table name: ups_incorrect_v1471a_charge_data
Database name: primary

id :bigint not null, primary key
account_number :string
billed_third_party :boolean default(FALSE), not null
checked_1 :boolean default(FALSE), not null
checked_2 :boolean default(FALSE), not null
checked_3 :boolean default(FALSE), not null
po_number :string
ship_date :string
tracking_number :string
created_at :datetime not null
updated_at :datetime not null
customer_id :integer

Indexes

index_ups_incorrect_v1471a_charge_data_on_account_number (account_number)
index_ups_incorrect_v1471a_charge_data_on_billed_third_party (billed_third_party)
index_ups_incorrect_v1471a_charge_data_on_checked_1 (checked_1)
index_ups_incorrect_v1471a_charge_data_on_checked_2 (checked_2)
index_ups_incorrect_v1471a_charge_data_on_checked_3 (checked_3)
index_ups_incorrect_v1471a_charge_data_on_customer_id (customer_id)
index_ups_incorrect_v1471a_charge_data_on_ship_date (ship_date)
index_ups_incorrect_v1471a_charge_data_on_tracking_number (tracking_number)

Belongs to collapse

Methods inherited from ApplicationRecord

ransackable_associations, ransackable_attributes, ransackable_scopes, ransortable_attributes, #to_relation

Methods included from Models::EventPublishable

#publish_event

Instance Method Details

#customerCustomer

Returns:

See Also:



31
# File 'app/models/ups_incorrect_v1471a_charge_data.rb', line 31

belongs_to :customer