class Google::Apis::DfareportingV3_4::Order
Describes properties of a Planning order.
Attributes
Account
ID of this order. Corresponds to the JSON property `accountId` @return [Fixnum]
Advertiser
ID of this order. Corresponds to the JSON property `advertiserId` @return [Fixnum]
IDs for users that have to approve documents created for this order. Corresponds to the JSON property `approverUserProfileIds` @return [Array<Fixnum>]
Buyer invoice ID associated with this order. Corresponds to the JSON property `buyerInvoiceId` @return [String]
Name of the buyer organization. Corresponds to the JSON property `buyerOrganizationName` @return [String]
Comments in this order. Corresponds to the JSON property `comments` @return [String]
Contacts for this order. Corresponds to the JSON property `contacts` @return [Array<Google::Apis::DfareportingV3_4::OrderContact>]
ID of this order. This is a read-only, auto-generated field. Corresponds to the JSON property `id` @return [Fixnum]
Identifies what kind of resource this is. Value: the fixed string “ dfareporting#order”. Corresponds to the JSON property `kind` @return [String]
Modification timestamp. Corresponds to the JSON property `lastModifiedInfo` @return [Google::Apis::DfareportingV3_4::LastModifiedInfo]
Name of this order. Corresponds to the JSON property `name` @return [String]
Notes of this order. Corresponds to the JSON property `notes` @return [String]
ID of the terms and conditions template used in this order. Corresponds to the JSON property `planningTermId` @return [Fixnum]
Project
ID of this order. Corresponds to the JSON property `projectId` @return [Fixnum]
Seller order ID associated with this order. Corresponds to the JSON property `sellerOrderId` @return [String]
Name of the seller organization. Corresponds to the JSON property `sellerOrganizationName` @return [String]
Site
IDs this order is associated with. Corresponds to the JSON property `siteId` @return [Array<Fixnum>]
Free-form site names this order is associated with. Corresponds to the JSON property `siteNames` @return [Array<String>]
Subaccount
ID of this order. Corresponds to the JSON property `subaccountId` @return [Fixnum]
Terms and conditions of this order. Corresponds to the JSON property `termsAndConditions` @return [String]
Public Class Methods
# File lib/google/apis/dfareporting_v3_4/classes.rb, line 8346 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dfareporting_v3_4/classes.rb, line 8351 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