Class: Connectwise::Opportunity
- Inherits:
-
Object
- Object
- Connectwise::Opportunity
- Includes:
- Model
- Defined in:
- lib/connectwise/connectwise.rb,
lib/connectwise/opportunity.rb
Instance Attribute Summary collapse
-
#age ⇒ Object
Returns the value of attribute age.
-
#business_unit ⇒ Object
Returns the value of attribute business_unit.
-
#close_probablity ⇒ Object
Returns the value of attribute close_probablity.
-
#closed ⇒ Object
Returns the value of attribute closed.
-
#estimated_total ⇒ Object
Returns the value of attribute estimated_total.
-
#expected_close_date ⇒ Object
Returns the value of attribute expected_close_date.
-
#id ⇒ Object
Returns the value of attribute id.
-
#location ⇒ Object
Returns the value of attribute location.
-
#lost ⇒ Object
Returns the value of attribute lost.
-
#lost_amount ⇒ Object
Returns the value of attribute lost_amount.
-
#margin ⇒ Object
Returns the value of attribute margin.
-
#marketing_campaign_name ⇒ Object
Returns the value of attribute marketing_campaign_name.
-
#open_amount ⇒ Object
Returns the value of attribute open_amount.
-
#opportunity_name ⇒ Object
Returns the value of attribute opportunity_name.
-
#primary_sales_rep ⇒ Object
Returns the value of attribute primary_sales_rep.
-
#product_amount ⇒ Object
Returns the value of attribute product_amount.
-
#rating ⇒ Object
Returns the value of attribute rating.
-
#recurring_total ⇒ Object
Returns the value of attribute recurring_total.
-
#secondary_sales_rep ⇒ Object
Returns the value of attribute secondary_sales_rep.
-
#service_amount ⇒ Object
Returns the value of attribute service_amount.
-
#source ⇒ Object
Returns the value of attribute source.
-
#stage_name ⇒ Object
Returns the value of attribute stage_name.
-
#status ⇒ Object
Returns the value of attribute status.
-
#type ⇒ Object
Returns the value of attribute type.
-
#won ⇒ Object
Returns the value of attribute won.
-
#won_amount ⇒ Object
Returns the value of attribute won_amount.
Instance Method Summary collapse
Methods included from Model
#defined_attributes, #destroy, included, #initialize, #persisted?, #save, #to_h
Instance Attribute Details
#age ⇒ Object
Returns the value of attribute age.
6 7 8 |
# File 'lib/connectwise/opportunity.rb', line 6 def age @age end |
#business_unit ⇒ Object
Returns the value of attribute business_unit.
6 7 8 |
# File 'lib/connectwise/opportunity.rb', line 6 def business_unit @business_unit end |
#close_probablity ⇒ Object
Returns the value of attribute close_probablity.
6 7 8 |
# File 'lib/connectwise/opportunity.rb', line 6 def close_probablity @close_probablity end |
#closed ⇒ Object
Returns the value of attribute closed.
6 7 8 |
# File 'lib/connectwise/opportunity.rb', line 6 def closed @closed end |
#estimated_total ⇒ Object
Returns the value of attribute estimated_total.
6 7 8 |
# File 'lib/connectwise/opportunity.rb', line 6 def estimated_total @estimated_total end |
#expected_close_date ⇒ Object
Returns the value of attribute expected_close_date.
6 7 8 |
# File 'lib/connectwise/opportunity.rb', line 6 def expected_close_date @expected_close_date end |
#id ⇒ Object
Returns the value of attribute id.
6 7 8 |
# File 'lib/connectwise/opportunity.rb', line 6 def id @id end |
#location ⇒ Object
Returns the value of attribute location.
6 7 8 |
# File 'lib/connectwise/opportunity.rb', line 6 def location @location end |
#lost ⇒ Object
Returns the value of attribute lost.
6 7 8 |
# File 'lib/connectwise/opportunity.rb', line 6 def lost @lost end |
#lost_amount ⇒ Object
Returns the value of attribute lost_amount.
6 7 8 |
# File 'lib/connectwise/opportunity.rb', line 6 def lost_amount @lost_amount end |
#margin ⇒ Object
Returns the value of attribute margin.
6 7 8 |
# File 'lib/connectwise/opportunity.rb', line 6 def margin @margin end |
#marketing_campaign_name ⇒ Object
Returns the value of attribute marketing_campaign_name.
6 7 8 |
# File 'lib/connectwise/opportunity.rb', line 6 def marketing_campaign_name @marketing_campaign_name end |
#open_amount ⇒ Object
Returns the value of attribute open_amount.
6 7 8 |
# File 'lib/connectwise/opportunity.rb', line 6 def open_amount @open_amount end |
#opportunity_name ⇒ Object
Returns the value of attribute opportunity_name.
6 7 8 |
# File 'lib/connectwise/opportunity.rb', line 6 def opportunity_name @opportunity_name end |
#primary_sales_rep ⇒ Object
Returns the value of attribute primary_sales_rep.
6 7 8 |
# File 'lib/connectwise/opportunity.rb', line 6 def primary_sales_rep @primary_sales_rep end |
#product_amount ⇒ Object
Returns the value of attribute product_amount.
6 7 8 |
# File 'lib/connectwise/opportunity.rb', line 6 def product_amount @product_amount end |
#rating ⇒ Object
Returns the value of attribute rating.
6 7 8 |
# File 'lib/connectwise/opportunity.rb', line 6 def @rating end |
#recurring_total ⇒ Object
Returns the value of attribute recurring_total.
6 7 8 |
# File 'lib/connectwise/opportunity.rb', line 6 def recurring_total @recurring_total end |
#secondary_sales_rep ⇒ Object
Returns the value of attribute secondary_sales_rep.
6 7 8 |
# File 'lib/connectwise/opportunity.rb', line 6 def secondary_sales_rep @secondary_sales_rep end |
#service_amount ⇒ Object
Returns the value of attribute service_amount.
6 7 8 |
# File 'lib/connectwise/opportunity.rb', line 6 def service_amount @service_amount end |
#source ⇒ Object
Returns the value of attribute source.
6 7 8 |
# File 'lib/connectwise/opportunity.rb', line 6 def source @source end |
#stage_name ⇒ Object
Returns the value of attribute stage_name.
6 7 8 |
# File 'lib/connectwise/opportunity.rb', line 6 def stage_name @stage_name end |
#status ⇒ Object
Returns the value of attribute status.
6 7 8 |
# File 'lib/connectwise/opportunity.rb', line 6 def status @status end |
#type ⇒ Object
Returns the value of attribute type.
6 7 8 |
# File 'lib/connectwise/opportunity.rb', line 6 def type @type end |
#won ⇒ Object
Returns the value of attribute won.
6 7 8 |
# File 'lib/connectwise/opportunity.rb', line 6 def won @won end |
#won_amount ⇒ Object
Returns the value of attribute won_amount.
6 7 8 |
# File 'lib/connectwise/opportunity.rb', line 6 def won_amount @won_amount end |
Instance Method Details
#company=(company) ⇒ Object
9 10 11 |
# File 'lib/connectwise/opportunity.rb', line 9 def company=(company) @company = company end |
#company_id ⇒ Object
17 18 19 |
# File 'lib/connectwise/opportunity.rb', line 17 def company_id @company end |
#contact=(contact) ⇒ Object
13 14 15 |
# File 'lib/connectwise/opportunity.rb', line 13 def contact=(contact) @contact = contact end |