Class CreateOfferDetails
The information about new Offers.
Inherited Members
Namespace: Oci.MarketplacepublisherService.Models
Assembly: OCI.DotNetSDK.Marketplacepublisher.dll
Syntax
public class CreateOfferDetails
Properties
BuyerCompartmentId
Declaration
[JsonProperty(PropertyName = "buyerCompartmentId")]
public string BuyerCompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | Compartment Identifier of the buyer |
BuyerInformation
Declaration
[JsonProperty(PropertyName = "buyerInformation")]
public BuyerInformation BuyerInformation { get; set; }
Property Value
Type | Description |
---|---|
BuyerInformation |
CustomFields
Declaration
[JsonProperty(PropertyName = "customFields")]
public List<CustomField> CustomFields { get; set; }
Property Value
Type | Description |
---|---|
List<CustomField> | A list of key value pairs specified by the seller |
DefinedTags
Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace": {"bar-key": "value"}} |
Description
Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string | Description of the Offer |
DisplayName
Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | Offers Identifier |
Remarks
Required
Duration
Declaration
[JsonProperty(PropertyName = "duration")]
public string Duration { get; set; }
Property Value
Type | Description |
---|---|
string | Duration the Offer will be active after its start date. An ISO8601 extended formatted string. |
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"} |
InternalNotes
Declaration
[JsonProperty(PropertyName = "internalNotes")]
public string InternalNotes { get; set; }
Property Value
Type | Description |
---|---|
string | Internal notes of the Offer |
Pricing
Declaration
[JsonProperty(PropertyName = "pricing")]
public Pricing Pricing { get; set; }
Property Value
Type | Description |
---|---|
Pricing |
ResourceBundles
Declaration
[JsonProperty(PropertyName = "resourceBundles")]
public List<ResourceBundle> ResourceBundles { get; set; }
Property Value
Type | Description |
---|---|
List<ResourceBundle> | A list of Resource Bundles associated with an Offer. |
SellerCompartmentId
Declaration
[Required(ErrorMessage = "SellerCompartmentId is required.")]
[JsonProperty(PropertyName = "sellerCompartmentId")]
public string SellerCompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | Compartment Identifier of the seller |
Remarks
Required
SellerInformation
Declaration
[JsonProperty(PropertyName = "sellerInformation")]
public SellerInformation SellerInformation { get; set; }
Property Value
Type | Description |
---|---|
SellerInformation |
TimeAcceptBy
Declaration
[JsonProperty(PropertyName = "timeAcceptBy")]
public DateTime? TimeAcceptBy { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The time the Offer must be accepted by the Buyer before the Offer becomes invalid. An RFC3339 formatted datetime string |
TimeStartDate
Declaration
[JsonProperty(PropertyName = "timeStartDate")]
public DateTime? TimeStartDate { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The time the Offer will become active after it has been accepted by the Buyer. An RFC3339 formatted datetime string |