class Google::Apis::DfareportingV3_4::OrderDocument
Contains properties of a Planning order document.
Attributes
Account
ID of this order document. Corresponds to the JSON property `accountId` @return [Fixnum]
Advertiser
ID of this order document. Corresponds to the JSON property `advertiserId` @return [Fixnum]
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 [Fixnum]
IDs of users who have approved this order document. Corresponds to the JSON property `approvedByUserProfileIds` @return [Array<Fixnum>]
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::DfareportingV3_4::LastModifiedInfo]
Corresponds to the JSON property `effectiveDate` @return [Date]
ID of this order document. Corresponds to the JSON property `id` @return [Fixnum]
Identifies what kind of resource this is. Value: the fixed string “ dfareporting#orderDocument”. Corresponds to the JSON property `kind` @return [String]
List of email addresses that received the last sent document. Corresponds to the JSON property `lastSentRecipients` @return [Array<String>]
Corresponds to the JSON property `lastSentTime` @return [DateTime]
ID of the order from which this order document is created. Corresponds to the JSON property `orderId` @return [Fixnum]
Project
ID of this order document. Corresponds to the JSON property `projectId` @return [Fixnum]
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 [Fixnum]
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 lib/google/apis/dfareporting_v3_4/classes.rb, line 8515 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dfareporting_v3_4/classes.rb, line 8520 def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id) @amended_order_document_id = args[:amended_order_document_id] if args.key?(:amended_order_document_id) @approved_by_user_profile_ids = args[:approved_by_user_profile_ids] if args.key?(:approved_by_user_profile_ids) @cancelled = args[:cancelled] if args.key?(:cancelled) @created_info = args[:created_info] if args.key?(:created_info) @effective_date = args[:effective_date] if args.key?(:effective_date) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @last_sent_recipients = args[:last_sent_recipients] if args.key?(:last_sent_recipients) @last_sent_time = args[:last_sent_time] if args.key?(:last_sent_time) @order_id = args[:order_id] if args.key?(:order_id) @project_id = args[:project_id] if args.key?(:project_id) @signed = args[:signed] if args.key?(:signed) @subaccount_id = args[:subaccount_id] if args.key?(:subaccount_id) @title = args[:title] if args.key?(:title) @type = args[:type] if args.key?(:type) end