class Google::Apis::DfareportingV2_1::OrderDocument
Contains properties of a DoubleClick Planning order document.
Attributes
Account ID of this order document. Corresponds to the JSON property `accountId` @return [String]
Advertiser ID of this order document. Corresponds to the JSON property `advertiserId` @return [String]
The amended order document ID of this order document. An order document can be created by optionally amending another order document so that the change history can be preserved. Corresponds to the JSON property `amendedOrderDocumentId` @return [String]
IDs of users who have approved this order document. Corresponds to the JSON property `approvedByUserProfileIds` @return [Array<String>]
Whether this order document is cancelled. Corresponds to the JSON property `cancelled` @return [Boolean]
Whether this order document is cancelled. Corresponds to the JSON property `cancelled` @return [Boolean]
Modification timestamp. Corresponds to the JSON property `createdInfo` @return [Google::Apis::DfareportingV2_1::LastModifiedInfo]
Effective date of this order document. Corresponds to the JSON property `effectiveDate` @return [Date]
ID of this order document. Corresponds to the JSON property `id` @return [String]
Identifies what kind of resource this is. Value: the fixed string “ dfareporting#orderDocument”. Corresponds to the JSON property `kind` @return [String]
ID of the order from which this order document is created. Corresponds to the JSON property `orderId` @return [String]
Project ID of this order document. Corresponds to the JSON property `projectId` @return [String]
Whether this order document has been signed. Corresponds to the JSON property `signed` @return [Boolean]
Whether this order document has been signed. Corresponds to the JSON property `signed` @return [Boolean]
Subaccount ID of this order document. Corresponds to the JSON property `subaccountId` @return [String]
Title of this order document. Corresponds to the JSON property `title` @return [String]
Type of this order document Corresponds to the JSON property `type` @return [String]
Public Class Methods
# File generated/google/apis/dfareporting_v2_1/classes.rb, line 7036 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/dfareporting_v2_1/classes.rb, line 7041 def update!(**args) @account_id = args[:account_id] unless args[:account_id].nil? @advertiser_id = args[:advertiser_id] unless args[:advertiser_id].nil? @amended_order_document_id = args[:amended_order_document_id] unless args[:amended_order_document_id].nil? @approved_by_user_profile_ids = args[:approved_by_user_profile_ids] unless args[:approved_by_user_profile_ids].nil? @cancelled = args[:cancelled] unless args[:cancelled].nil? @created_info = args[:created_info] unless args[:created_info].nil? @effective_date = args[:effective_date] unless args[:effective_date].nil? @id = args[:id] unless args[:id].nil? @kind = args[:kind] unless args[:kind].nil? @order_id = args[:order_id] unless args[:order_id].nil? @project_id = args[:project_id] unless args[:project_id].nil? @signed = args[:signed] unless args[:signed].nil? @subaccount_id = args[:subaccount_id] unless args[:subaccount_id].nil? @title = args[:title] unless args[:title].nil? @type = args[:type] unless args[:type].nil? end