Class: Google::Apis::DfareportingV2_1::Order
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_1::Order
- Includes:
- Core::Hashable
- Defined in:
- generated/google/apis/dfareporting_v2_1/classes.rb,
generated/google/apis/dfareporting_v2_1/representations.rb,
generated/google/apis/dfareporting_v2_1/representations.rb
Overview
Describes properties of a DoubleClick Planning order.
Instance Attribute Summary collapse
-
#account_id ⇒ String
Account ID of this order.
-
#advertiser_id ⇒ String
Advertiser ID of this order.
-
#approver_user_profile_ids ⇒ Array<String>
IDs for users that have to approve documents created for this order.
-
#buyer_invoice_id ⇒ String
Buyer invoice ID associated with this order.
-
#buyer_organization_name ⇒ String
Name of the buyer organization.
-
#comments ⇒ String
Comments in this order.
-
#contacts ⇒ Array<Google::Apis::DfareportingV2_1::OrderContact>
Contacts for this order.
-
#id ⇒ String
ID of this order.
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#last_modified_info ⇒ Google::Apis::DfareportingV2_1::LastModifiedInfo
Modification timestamp.
-
#name ⇒ String
Name of this order.
-
#notes ⇒ String
Notes of this order.
-
#planning_term_id ⇒ String
ID of the terms and conditions template used in this order.
-
#project_id ⇒ String
Project ID of this order.
-
#seller_order_id ⇒ String
Seller order ID associated with this order.
-
#seller_organization_name ⇒ String
Name of the seller organization.
-
#site_id ⇒ Array<String>
Site IDs this order is associated with.
-
#site_names ⇒ Array<String>
Free-form site names this order is associated with.
-
#subaccount_id ⇒ String
Subaccount ID of this order.
-
#terms_and_conditions ⇒ String
Terms and conditions of this order.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Order
constructor
A new instance of Order.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Order
Returns a new instance of Order
6877 6878 6879 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6877 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_id ⇒ String
Account ID of this order.
Corresponds to the JSON property accountId
6779 6780 6781 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6779 def account_id @account_id end |
#advertiser_id ⇒ String
Advertiser ID of this order.
Corresponds to the JSON property advertiserId
6784 6785 6786 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6784 def advertiser_id @advertiser_id end |
#approver_user_profile_ids ⇒ Array<String>
IDs for users that have to approve documents created for this order.
Corresponds to the JSON property approverUserProfileIds
6789 6790 6791 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6789 def approver_user_profile_ids @approver_user_profile_ids end |
#buyer_invoice_id ⇒ String
Buyer invoice ID associated with this order.
Corresponds to the JSON property buyerInvoiceId
6794 6795 6796 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6794 def buyer_invoice_id @buyer_invoice_id end |
#buyer_organization_name ⇒ String
Name of the buyer organization.
Corresponds to the JSON property buyerOrganizationName
6799 6800 6801 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6799 def buyer_organization_name @buyer_organization_name end |
#comments ⇒ String
Comments in this order.
Corresponds to the JSON property comments
6804 6805 6806 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6804 def comments @comments end |
#contacts ⇒ Array<Google::Apis::DfareportingV2_1::OrderContact>
Contacts for this order.
Corresponds to the JSON property contacts
6809 6810 6811 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6809 def contacts @contacts end |
#id ⇒ String
ID of this order. This is a read-only, auto-generated field.
Corresponds to the JSON property id
6814 6815 6816 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6814 def id @id end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
dfareporting#order".
Corresponds to the JSON property kind
6820 6821 6822 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6820 def kind @kind end |
#last_modified_info ⇒ Google::Apis::DfareportingV2_1::LastModifiedInfo
Modification timestamp.
Corresponds to the JSON property lastModifiedInfo
6825 6826 6827 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6825 def last_modified_info @last_modified_info end |
#name ⇒ String
Name of this order.
Corresponds to the JSON property name
6830 6831 6832 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6830 def name @name end |
#notes ⇒ String
Notes of this order.
Corresponds to the JSON property notes
6835 6836 6837 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6835 def notes @notes end |
#planning_term_id ⇒ String
ID of the terms and conditions template used in this order.
Corresponds to the JSON property planningTermId
6840 6841 6842 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6840 def planning_term_id @planning_term_id end |
#project_id ⇒ String
Project ID of this order.
Corresponds to the JSON property projectId
6845 6846 6847 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6845 def project_id @project_id end |
#seller_order_id ⇒ String
Seller order ID associated with this order.
Corresponds to the JSON property sellerOrderId
6850 6851 6852 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6850 def seller_order_id @seller_order_id end |
#seller_organization_name ⇒ String
Name of the seller organization.
Corresponds to the JSON property sellerOrganizationName
6855 6856 6857 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6855 def seller_organization_name @seller_organization_name end |
#site_id ⇒ Array<String>
Site IDs this order is associated with.
Corresponds to the JSON property siteId
6860 6861 6862 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6860 def site_id @site_id end |
#site_names ⇒ Array<String>
Free-form site names this order is associated with.
Corresponds to the JSON property siteNames
6865 6866 6867 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6865 def site_names @site_names end |
#subaccount_id ⇒ String
Subaccount ID of this order.
Corresponds to the JSON property subaccountId
6870 6871 6872 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6870 def subaccount_id @subaccount_id end |
#terms_and_conditions ⇒ String
Terms and conditions of this order.
Corresponds to the JSON property termsAndConditions
6875 6876 6877 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6875 def terms_and_conditions @terms_and_conditions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6882 def update!(**args) @account_id = args[:account_id] unless args[:account_id].nil? @advertiser_id = args[:advertiser_id] unless args[:advertiser_id].nil? @approver_user_profile_ids = args[:approver_user_profile_ids] unless args[:approver_user_profile_ids].nil? @buyer_invoice_id = args[:buyer_invoice_id] unless args[:buyer_invoice_id].nil? @buyer_organization_name = args[:buyer_organization_name] unless args[:buyer_organization_name].nil? @comments = args[:comments] unless args[:comments].nil? @contacts = args[:contacts] unless args[:contacts].nil? @id = args[:id] unless args[:id].nil? @kind = args[:kind] unless args[:kind].nil? @last_modified_info = args[:last_modified_info] unless args[:last_modified_info].nil? @name = args[:name] unless args[:name].nil? @notes = args[:notes] unless args[:notes].nil? @planning_term_id = args[:planning_term_id] unless args[:planning_term_id].nil? @project_id = args[:project_id] unless args[:project_id].nil? @seller_order_id = args[:seller_order_id] unless args[:seller_order_id].nil? @seller_organization_name = args[:seller_organization_name] unless args[:seller_organization_name].nil? @site_id = args[:site_id] unless args[:site_id].nil? @site_names = args[:site_names] unless args[:site_names].nil? @subaccount_id = args[:subaccount_id] unless args[:subaccount_id].nil? @terms_and_conditions = args[:terms_and_conditions] unless args[:terms_and_conditions].nil? end |