class Google::Apis::DfareportingV2_1::Order

Describes properties of a DoubleClick Planning order.

Attributes

account_id[RW]

Account ID of this order. Corresponds to the JSON property `accountId` @return [String]

advertiser_id[RW]

Advertiser ID of this order. Corresponds to the JSON property `advertiserId` @return [String]

approver_user_profile_ids[RW]

IDs for users that have to approve documents created for this order. Corresponds to the JSON property `approverUserProfileIds` @return [Array<String>]

buyer_invoice_id[RW]

Buyer invoice ID associated with this order. Corresponds to the JSON property `buyerInvoiceId` @return [String]

buyer_organization_name[RW]

Name of the buyer organization. Corresponds to the JSON property `buyerOrganizationName` @return [String]

comments[RW]

Comments in this order. Corresponds to the JSON property `comments` @return [String]

contacts[RW]

Contacts for this order. Corresponds to the JSON property `contacts` @return [Array<Google::Apis::DfareportingV2_1::OrderContact>]

id[RW]

ID of this order. This is a read-only, auto-generated field. Corresponds to the JSON property `id` @return [String]

kind[RW]

Identifies what kind of resource this is. Value: the fixed string “ dfareporting#order”. Corresponds to the JSON property `kind` @return [String]

last_modified_info[RW]

Modification timestamp. Corresponds to the JSON property `lastModifiedInfo` @return [Google::Apis::DfareportingV2_1::LastModifiedInfo]

name[RW]

Name of this order. Corresponds to the JSON property `name` @return [String]

notes[RW]

Notes of this order. Corresponds to the JSON property `notes` @return [String]

planning_term_id[RW]

ID of the terms and conditions template used in this order. Corresponds to the JSON property `planningTermId` @return [String]

project_id[RW]

Project ID of this order. Corresponds to the JSON property `projectId` @return [String]

seller_order_id[RW]

Seller order ID associated with this order. Corresponds to the JSON property `sellerOrderId` @return [String]

seller_organization_name[RW]

Name of the seller organization. Corresponds to the JSON property `sellerOrganizationName` @return [String]

site_id[RW]

Site IDs this order is associated with. Corresponds to the JSON property `siteId` @return [Array<String>]

site_names[RW]

Free-form site names this order is associated with. Corresponds to the JSON property `siteNames` @return [Array<String>]

subaccount_id[RW]

Subaccount ID of this order. Corresponds to the JSON property `subaccountId` @return [String]

terms_and_conditions[RW]

Terms and conditions of this order. Corresponds to the JSON property `termsAndConditions` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/dfareporting_v2_1/classes.rb, line 6877
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# 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