CreateOfferDetails

class oci.marketplace_publisher.models.CreateOfferDetails(**kwargs)

Bases: object

The information about new Offers.

Methods

__init__(**kwargs) Initializes a new CreateOfferDetails object with values from keyword arguments.

Attributes

buyer_compartment_id Gets the buyer_compartment_id of this CreateOfferDetails.
buyer_information Gets the buyer_information of this CreateOfferDetails.
custom_fields Gets the custom_fields of this CreateOfferDetails.
defined_tags Gets the defined_tags of this CreateOfferDetails.
description Gets the description of this CreateOfferDetails.
display_name [Required] Gets the display_name of this CreateOfferDetails.
duration Gets the duration of this CreateOfferDetails.
freeform_tags Gets the freeform_tags of this CreateOfferDetails.
internal_notes Gets the internal_notes of this CreateOfferDetails.
pricing Gets the pricing of this CreateOfferDetails.
resource_bundles Gets the resource_bundles of this CreateOfferDetails.
seller_compartment_id [Required] Gets the seller_compartment_id of this CreateOfferDetails.
seller_information Gets the seller_information of this CreateOfferDetails.
time_accept_by Gets the time_accept_by of this CreateOfferDetails.
time_start_date Gets the time_start_date of this CreateOfferDetails.
__init__(**kwargs)

Initializes a new CreateOfferDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • display_name (str) – The value to assign to the display_name property of this CreateOfferDetails.
  • seller_compartment_id (str) – The value to assign to the seller_compartment_id property of this CreateOfferDetails.
  • buyer_compartment_id (str) – The value to assign to the buyer_compartment_id property of this CreateOfferDetails.
  • description (str) – The value to assign to the description property of this CreateOfferDetails.
  • internal_notes (str) – The value to assign to the internal_notes property of this CreateOfferDetails.
  • time_start_date (datetime) – The value to assign to the time_start_date property of this CreateOfferDetails.
  • duration (str) – The value to assign to the duration property of this CreateOfferDetails.
  • time_accept_by (datetime) – The value to assign to the time_accept_by property of this CreateOfferDetails.
  • pricing (oci.marketplace_publisher.models.Pricing) – The value to assign to the pricing property of this CreateOfferDetails.
  • buyer_information (oci.marketplace_publisher.models.BuyerInformation) – The value to assign to the buyer_information property of this CreateOfferDetails.
  • seller_information (oci.marketplace_publisher.models.SellerInformation) – The value to assign to the seller_information property of this CreateOfferDetails.
  • resource_bundles (list[oci.marketplace_publisher.models.ResourceBundle]) – The value to assign to the resource_bundles property of this CreateOfferDetails.
  • custom_fields (list[oci.marketplace_publisher.models.CustomField]) – The value to assign to the custom_fields property of this CreateOfferDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateOfferDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateOfferDetails.
buyer_compartment_id

Gets the buyer_compartment_id of this CreateOfferDetails. Compartment Identifier of the buyer

Returns:The buyer_compartment_id of this CreateOfferDetails.
Return type:str
buyer_information

Gets the buyer_information of this CreateOfferDetails.

Returns:The buyer_information of this CreateOfferDetails.
Return type:oci.marketplace_publisher.models.BuyerInformation
custom_fields

Gets the custom_fields of this CreateOfferDetails. A list of key value pairs specified by the seller

Returns:The custom_fields of this CreateOfferDetails.
Return type:list[oci.marketplace_publisher.models.CustomField]
defined_tags

Gets the defined_tags of this CreateOfferDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns:The defined_tags of this CreateOfferDetails.
Return type:dict(str, dict(str, object))
description

Gets the description of this CreateOfferDetails. Description of the Offer

Returns:The description of this CreateOfferDetails.
Return type:str
display_name

[Required] Gets the display_name of this CreateOfferDetails. Offers Identifier

Returns:The display_name of this CreateOfferDetails.
Return type:str
duration

Gets the duration of this CreateOfferDetails. Duration the Offer will be active after its start date. An ISO8601 extended formatted string.

Returns:The duration of this CreateOfferDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this CreateOfferDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns:The freeform_tags of this CreateOfferDetails.
Return type:dict(str, str)
internal_notes

Gets the internal_notes of this CreateOfferDetails. Internal notes of the Offer

Returns:The internal_notes of this CreateOfferDetails.
Return type:str
pricing

Gets the pricing of this CreateOfferDetails.

Returns:The pricing of this CreateOfferDetails.
Return type:oci.marketplace_publisher.models.Pricing
resource_bundles

Gets the resource_bundles of this CreateOfferDetails. A list of Resource Bundles associated with an Offer.

Returns:The resource_bundles of this CreateOfferDetails.
Return type:list[oci.marketplace_publisher.models.ResourceBundle]
seller_compartment_id

[Required] Gets the seller_compartment_id of this CreateOfferDetails. Compartment Identifier of the seller

Returns:The seller_compartment_id of this CreateOfferDetails.
Return type:str
seller_information

Gets the seller_information of this CreateOfferDetails.

Returns:The seller_information of this CreateOfferDetails.
Return type:oci.marketplace_publisher.models.SellerInformation
time_accept_by

Gets the time_accept_by of this CreateOfferDetails. The time the Offer must be accepted by the Buyer before the Offer becomes invalid. An RFC3339 formatted datetime string

Returns:The time_accept_by of this CreateOfferDetails.
Return type:datetime
time_start_date

Gets the time_start_date of this CreateOfferDetails. The time the Offer will become active after it has been accepted by the Buyer. An RFC3339 formatted datetime string

Returns:The time_start_date of this CreateOfferDetails.
Return type:datetime