class Google::Apis::DfareportingV2_3::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_3::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_3::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_3/classes.rb, line 6943
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_3/classes.rb, line 6948
def update!(**args)
  @account_id = args[:account_id] if args.key?(:account_id)
  @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id)
  @approver_user_profile_ids = args[:approver_user_profile_ids] if args.key?(:approver_user_profile_ids)
  @buyer_invoice_id = args[:buyer_invoice_id] if args.key?(:buyer_invoice_id)
  @buyer_organization_name = args[:buyer_organization_name] if args.key?(:buyer_organization_name)
  @comments = args[:comments] if args.key?(:comments)
  @contacts = args[:contacts] if args.key?(:contacts)
  @id = args[:id] if args.key?(:id)
  @kind = args[:kind] if args.key?(:kind)
  @last_modified_info = args[:last_modified_info] if args.key?(:last_modified_info)
  @name = args[:name] if args.key?(:name)
  @notes = args[:notes] if args.key?(:notes)
  @planning_term_id = args[:planning_term_id] if args.key?(:planning_term_id)
  @project_id = args[:project_id] if args.key?(:project_id)
  @seller_order_id = args[:seller_order_id] if args.key?(:seller_order_id)
  @seller_organization_name = args[:seller_organization_name] if args.key?(:seller_organization_name)
  @site_id = args[:site_id] if args.key?(:site_id)
  @site_names = args[:site_names] if args.key?(:site_names)
  @subaccount_id = args[:subaccount_id] if args.key?(:subaccount_id)
  @terms_and_conditions = args[:terms_and_conditions] if args.key?(:terms_and_conditions)
end