OfferTermInfo Class
- java.
lang. Object - com.
azure. resourcemanager. commerce. models. OfferTermInfo
- com.
Implements
public class OfferTermInfo
implements JsonSerializable<OfferTermInfo>
Describes the offer term.
Constructor Summary
| Modifier | Constructor | Description |
|---|---|---|
| protected | OfferTermInfo() |
Creates an instance of Offer |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Offset |
effectiveDate()
Get the effective |
|
static
Offer |
fromJson(JsonReader jsonReader)
Reads an instance of Offer |
|
Offer |
name()
Get the name property: Name of the offer term. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
OfferTermInfo
protected OfferTermInfo()
Creates an instance of OfferTermInfo class.
Method Details
effectiveDate
public OffsetDateTime effectiveDate()
Get the effectiveDate property: Indicates the date from which the offer term is effective.
Returns:
fromJson
public static OfferTermInfo fromJson(JsonReader jsonReader)
Reads an instance of OfferTermInfo from the JsonReader.
Parameters:
Returns:
Throws:
name
public OfferTermInfoName name()
Get the name property: Name of the offer term.
Returns: