Entitlement class
Represents a procured product of a customer.
Constructors
-
Entitlement({String? account, String? cancellationReason, List<
Consumer> ? consumers, String? createTime, List<String> ? entitlementBenefitIds, Map<String, Object?> ? inputProperties, String? messageToUser, String? name, String? newOfferEndTime, String? newOfferStartTime, String? newPendingOffer, String? newPendingOfferDuration, String? newPendingPlan, String? offer, String? offerDuration, String? offerEndTime, String? orderId, String? plan, String? product, String? productExternalName, String? provider, String? quoteExternalName, String? state, String? subscriptionEndTime, String? updateTime, String? usageReportingId}) - Entitlement.fromJson(Map json_)
Properties
- account ↔ String?
-
The resource name of the account that this entitlement is based on, if
any.
getter/setter pair
- cancellationReason ↔ String?
-
The reason the entitlement was cancelled.
getter/setter pair
-
consumers
↔ List<
Consumer> ? -
The resources using this entitlement, if applicable.
getter/setter pair
- createTime ↔ String?
-
The creation timestamp.
getter/setter pair
-
entitlementBenefitIds
↔ List<
String> ? -
The entitlement benefit IDs associated with the purchase.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
inputProperties
↔ Map<
String, Object?> ? -
The custom properties that were collected from the user to create this
entitlement.
getter/setter pair
- messageToUser ↔ String?
-
Provider-supplied message that is displayed to the end user.
getter/setter pair
- name ↔ String?
-
The resource name of the entitlement.
getter/setter pair
- newOfferEndTime ↔ String?
-
The end time of the new offer.
getter/setter pair
- newOfferStartTime ↔ String?
-
The timestamp when the new offer becomes effective.
getter/setter pair
- newPendingOffer ↔ String?
-
The name of the offer the entitlement is switching to upon a pending plan
change.
getter/setter pair
- newPendingOfferDuration ↔ String?
-
The duration of the new offer, in ISO 8601 duration format.
getter/setter pair
- newPendingPlan ↔ String?
-
The identifier of the pending new plan.
getter/setter pair
- offer ↔ String?
-
The name of the offer that was procured.
getter/setter pair
- offerDuration ↔ String?
-
The offer duration of the current offer in ISO 8601 duration format.
getter/setter pair
- offerEndTime ↔ String?
-
End time for the Offer association corresponding to this entitlement.
getter/setter pair
- orderId ↔ String?
-
The order ID of this entitlement, without any
orders/
resource name prefix.getter/setter pair - plan ↔ String?
-
The identifier of the plan that was procured.
getter/setter pair
- product ↔ String?
-
The identifier of the entity that was purchased.
getter/setter pair
- productExternalName ↔ String?
-
The identifier of the product that was procured.
getter/setter pair
- provider ↔ String?
-
The identifier of the service provider that this entitlement was created
against.
getter/setter pair
- quoteExternalName ↔ String?
-
The identifier of the quote that was used to procure.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state ↔ String?
-
The state of the entitlement.
getter/setter pair
- subscriptionEndTime ↔ String?
-
End time for the subscription corresponding to this entitlement.
getter/setter pair
- updateTime ↔ String?
-
The last update timestamp.
getter/setter pair
- usageReportingId ↔ String?
-
The consumerId to use when reporting usage through the Service Control
API.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited