Class: Google::Apis::AdexchangebuyerV1_4::MarketplaceDealParty
- Inherits:
-
Object
- Object
- Google::Apis::AdexchangebuyerV1_4::MarketplaceDealParty
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/adexchangebuyer_v1_4/classes.rb,
generated/google/apis/adexchangebuyer_v1_4/representations.rb,
generated/google/apis/adexchangebuyer_v1_4/representations.rb
Instance Attribute Summary collapse
-
#buyer ⇒ Google::Apis::AdexchangebuyerV1_4::Buyer
The buyer/seller associated with the deal.
-
#seller ⇒ Google::Apis::AdexchangebuyerV1_4::Seller
The buyer/seller associated with the deal.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MarketplaceDealParty
constructor
A new instance of MarketplaceDealParty.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ MarketplaceDealParty
Returns a new instance of MarketplaceDealParty.
2022 2023 2024 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 2022 def initialize(**args) update!(**args) end |
Instance Attribute Details
#buyer ⇒ Google::Apis::AdexchangebuyerV1_4::Buyer
The buyer/seller associated with the deal. One of buyer/seller is specified
for a deal-party.
Corresponds to the JSON property buyer
2014 2015 2016 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 2014 def buyer @buyer end |
#seller ⇒ Google::Apis::AdexchangebuyerV1_4::Seller
The buyer/seller associated with the deal. One of buyer/seller is specified
for a deal party.
Corresponds to the JSON property seller
2020 2021 2022 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 2020 def seller @seller end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2027 2028 2029 2030 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 2027 def update!(**args) @buyer = args[:buyer] if args.key?(:buyer) @seller = args[:seller] if args.key?(:seller) end |