Class: Google::Apis::DfareportingV2_1::Order

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable
Defined in:
generated/google/apis/dfareporting_v2_1/classes.rb,
generated/google/apis/dfareporting_v2_1/representations.rb,
generated/google/apis/dfareporting_v2_1/representations.rb

Overview

Describes properties of a DoubleClick Planning order.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Order

Returns a new instance of Order.



6877
6878
6879
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6877

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#account_idString

Account ID of this order. Corresponds to the JSON property accountId

Returns:

  • (String)


6779
6780
6781
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6779

def 
  @account_id
end

#advertiser_idString

Advertiser ID of this order. Corresponds to the JSON property advertiserId

Returns:

  • (String)


6784
6785
6786
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6784

def advertiser_id
  @advertiser_id
end

#approver_user_profile_idsArray<String>

IDs for users that have to approve documents created for this order. Corresponds to the JSON property approverUserProfileIds

Returns:

  • (Array<String>)


6789
6790
6791
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6789

def 
  @approver_user_profile_ids
end

#buyer_invoice_idString

Buyer invoice ID associated with this order. Corresponds to the JSON property buyerInvoiceId

Returns:

  • (String)


6794
6795
6796
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6794

def buyer_invoice_id
  @buyer_invoice_id
end

#buyer_organization_nameString

Name of the buyer organization. Corresponds to the JSON property buyerOrganizationName

Returns:

  • (String)


6799
6800
6801
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6799

def buyer_organization_name
  @buyer_organization_name
end

#commentsString

Comments in this order. Corresponds to the JSON property comments

Returns:

  • (String)


6804
6805
6806
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6804

def comments
  @comments
end

#contactsArray<Google::Apis::DfareportingV2_1::OrderContact>

Contacts for this order. Corresponds to the JSON property contacts



6809
6810
6811
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6809

def contacts
  @contacts
end

#idString

ID of this order. This is a read-only, auto-generated field. Corresponds to the JSON property id

Returns:

  • (String)


6814
6815
6816
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6814

def id
  @id
end

#kindString

Identifies what kind of resource this is. Value: the fixed string " dfareporting#order". Corresponds to the JSON property kind

Returns:

  • (String)


6820
6821
6822
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6820

def kind
  @kind
end

#last_modified_infoGoogle::Apis::DfareportingV2_1::LastModifiedInfo

Modification timestamp. Corresponds to the JSON property lastModifiedInfo



6825
6826
6827
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6825

def last_modified_info
  @last_modified_info
end

#nameString

Name of this order. Corresponds to the JSON property name

Returns:

  • (String)


6830
6831
6832
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6830

def name
  @name
end

#notesString

Notes of this order. Corresponds to the JSON property notes

Returns:

  • (String)


6835
6836
6837
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6835

def notes
  @notes
end

#planning_term_idString

ID of the terms and conditions template used in this order. Corresponds to the JSON property planningTermId

Returns:

  • (String)


6840
6841
6842
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6840

def planning_term_id
  @planning_term_id
end

#project_idString

Project ID of this order. Corresponds to the JSON property projectId

Returns:

  • (String)


6845
6846
6847
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6845

def project_id
  @project_id
end

#seller_order_idString

Seller order ID associated with this order. Corresponds to the JSON property sellerOrderId

Returns:

  • (String)


6850
6851
6852
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6850

def seller_order_id
  @seller_order_id
end

#seller_organization_nameString

Name of the seller organization. Corresponds to the JSON property sellerOrganizationName

Returns:

  • (String)


6855
6856
6857
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6855

def seller_organization_name
  @seller_organization_name
end

#site_idArray<String>

Site IDs this order is associated with. Corresponds to the JSON property siteId

Returns:

  • (Array<String>)


6860
6861
6862
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6860

def site_id
  @site_id
end

#site_namesArray<String>

Free-form site names this order is associated with. Corresponds to the JSON property siteNames

Returns:

  • (Array<String>)


6865
6866
6867
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6865

def site_names
  @site_names
end

#subaccount_idString

Subaccount ID of this order. Corresponds to the JSON property subaccountId

Returns:

  • (String)


6870
6871
6872
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6870

def subaccount_id
  @subaccount_id
end

#terms_and_conditionsString

Terms and conditions of this order. Corresponds to the JSON property termsAndConditions

Returns:

  • (String)


6875
6876
6877
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6875

def terms_and_conditions
  @terms_and_conditions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6882

def update!(**args)
  @account_id = args[:account_id] unless args[:account_id].nil?
  @advertiser_id = args[:advertiser_id] unless args[:advertiser_id].nil?
  @approver_user_profile_ids = args[:approver_user_profile_ids] unless args[:approver_user_profile_ids].nil?
  @buyer_invoice_id = args[:buyer_invoice_id] unless args[:buyer_invoice_id].nil?
  @buyer_organization_name = args[:buyer_organization_name] unless args[:buyer_organization_name].nil?
  @comments = args[:comments] unless args[:comments].nil?
  @contacts = args[:contacts] unless args[:contacts].nil?
  @id = args[:id] unless args[:id].nil?
  @kind = args[:kind] unless args[:kind].nil?
  @last_modified_info = args[:last_modified_info] unless args[:last_modified_info].nil?
  @name = args[:name] unless args[:name].nil?
  @notes = args[:notes] unless args[:notes].nil?
  @planning_term_id = args[:planning_term_id] unless args[:planning_term_id].nil?
  @project_id = args[:project_id] unless args[:project_id].nil?
  @seller_order_id = args[:seller_order_id] unless args[:seller_order_id].nil?
  @seller_organization_name = args[:seller_organization_name] unless args[:seller_organization_name].nil?
  @site_id = args[:site_id] unless args[:site_id].nil?
  @site_names = args[:site_names] unless args[:site_names].nil?
  @subaccount_id = args[:subaccount_id] unless args[:subaccount_id].nil?
  @terms_and_conditions = args[:terms_and_conditions] unless args[:terms_and_conditions].nil?
end