LineDrive.Deal (line_drive v0.25.1)
This module and enclosed struct represent a deal in pipedrive.
Summary
Types
@type t() :: %LineDrive.Deal{ active: boolean() | nil, activities_count: non_neg_integer() | nil, add_time: DateTime.t() | nil, cc_email: String.t() | nil, close_time: DateTime.t() | nil, creator_user_id: LineDrive.User.t() | nil, currency: String.t() | nil, deleted: boolean() | nil, done_activities_count: non_neg_integer() | nil, email_messages_count: non_neg_integer() | nil, expected_close_date: Date.t() | nil, files_count: non_neg_integer() | nil, first_won_time: DateTime.t() | nil, followers_count: non_neg_integer() | nil, formatted_value: String.t() | nil, formatted_weighted_value: String.t() | nil, id: non_neg_integer() | nil, label: String.t() | nil, last_activity_date: Date.t() | nil, last_activity_id: non_neg_integer() | nil, last_incoming_mail_time: DateTime.t() | nil, last_outgoing_mail_time: DateTime.t() | nil, lost_reason: String.t() | nil, lost_time: DateTime.t() | nil, next_activity_date: Date.t() | nil, next_activity_duration: String.t() | nil, next_activity_id: non_neg_integer() | nil, next_activity_note: String.t() | nil, next_activity_subject: String.t() | nil, next_activity_time: Time.t() | nil, next_activity_type: String.t() | nil, notes_count: non_neg_integer() | nil, org_hidden: boolean() | nil, org_id: LineDrive.Organization.t() | nil, org_name: String.t() | nil, original_object: %{} | nil, owner_name: String.t() | nil, participants_count: non_neg_integer() | nil, person_hidden: boolean() | nil, person_name: String.t() | nil, pipeline_id: non_neg_integer() | nil, probability: non_neg_integer() | nil, products_count: non_neg_integer() | nil, rotten_time: String.t() | nil, stage_change_time: DateTime.t() | nil, stage_id: non_neg_integer() | nil, stage_order_nr: non_neg_integer() | nil, status: String.t() | nil, title: String.t() | nil, undone_activities_count: non_neg_integer() | nil, update_time: DateTime.t() | nil, user_id: LineDrive.User.t() | nil, value: float() | nil, visible_to: non_neg_integer() | nil, weighted_value: float() | nil, weighted_value_currency: String.t() | nil, won_time: DateTime.t() | nil }
Functions
Link to this function
handle_transform(map, original_map)
Link to this function
new(map)
Link to this function