Table of Contents

Class DiscountPercentagePriceInfoRequest

Namespace
Line.OpenApi.Messaging.Generated.Api.Models
Assembly
Line.OpenApi.Messaging.dll
public class DiscountPercentagePriceInfoRequest : DiscountPriceInfoRequest, IAdditionalDataHolder, IParsable
Inheritance
DiscountPercentagePriceInfoRequest
Implements
IAdditionalDataHolder
IParsable
Inherited Members

Properties

Percentage

Specifies the discount rate as a percentage. Must be an integer between 1 and 99.

public int? Percentage { get; set; }

Property Value

int?

Methods

CreateFromDiscriminatorValue(IParseNode)

Creates a new instance of the appropriate class based on discriminator value

public static DiscountPercentagePriceInfoRequest CreateFromDiscriminatorValue(IParseNode parseNode)

Parameters

parseNode IParseNode

The parse node to use to read the discriminator value and create the object

Returns

DiscountPercentagePriceInfoRequest

A DiscountPercentagePriceInfoRequest

GetFieldDeserializers()

The deserialization information for the current model

public override IDictionary<string, Action<IParseNode>> GetFieldDeserializers()

Returns

IDictionary<string, Action<IParseNode>>

A IDictionary<string, Action<IParseNode>>

Serialize(ISerializationWriter)

Serializes information the current object

public override void Serialize(ISerializationWriter writer)

Parameters

writer ISerializationWriter

Serialization writer to use to serialize this model