class Google::Apis::DfareportingV3_4::OrderDocument

Contains properties of a Planning order document.

Attributes

account_id[RW]

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

advertiser_id[RW]

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

amended_order_document_id[RW]

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]

approved_by_user_profile_ids[RW]

IDs of users who have approved this order document. Corresponds to the JSON property `approvedByUserProfileIds` @return [Array<Fixnum>]

cancelled[RW]

Whether this order document is cancelled. Corresponds to the JSON property `cancelled` @return [Boolean]

cancelled?[RW]

Whether this order document is cancelled. Corresponds to the JSON property `cancelled` @return [Boolean]

created_info[RW]

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

effective_date[RW]

Corresponds to the JSON property `effectiveDate` @return [Date]

id[RW]

ID of this order document. Corresponds to the JSON property `id` @return [Fixnum]

kind[RW]

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

last_sent_recipients[RW]

List of email addresses that received the last sent document. Corresponds to the JSON property `lastSentRecipients` @return [Array<String>]

last_sent_time[RW]

Corresponds to the JSON property `lastSentTime` @return [DateTime]

order_id[RW]

ID of the order from which this order document is created. Corresponds to the JSON property `orderId` @return [Fixnum]

project_id[RW]

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

signed[RW]

Whether this order document has been signed. Corresponds to the JSON property `signed` @return [Boolean]

signed?[RW]

Whether this order document has been signed. Corresponds to the JSON property `signed` @return [Boolean]

subaccount_id[RW]

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

title[RW]

Title of this order document. Corresponds to the JSON property `title` @return [String]

type[RW]

Type of this order document Corresponds to the JSON property `type` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

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