SGSubscription class
- Annotations
-
- @JsonSerializable()
Constructors
- SGSubscription({required String? activeOfferId, required SGBillinPeriodUnit? billingPeriodUnit, required int? billingPeriodNumberOfUnit, required String? expirationReason, required int? expiresAt, required String? gateway, required String? gatewayPriceIdentifier, required String? gatewayProductIdentifier, required String? gatewaySubscriptionIdentifier, required int? gracePeriodScheduledExpiry, required bool? isInBillingRetryPeriod, required bool? isInGracePeriod, required bool? isInTrialPeriod, required bool? isLifetime, required bool? isPaused, required bool? isRefund, required int? isSandbox, required int? lastRenewedAt, required String? latestTransactionId, required int? nextRenewalAt, required SGOfferType? offerType, required int? pauseEndsAt, required int? pauseStartsAt, required String? status, required int? subscriptionStartsAt, required int? unsubscribedAt, required bool? willAutoRenew})
-
SGSubscription.fromJson(Map<
String, dynamic> json) -
factory
Properties
- activeOfferId → String?
-
final
- billingPeriodNumberOfUnit → int?
-
final
- billingPeriodUnit → SGBillinPeriodUnit?
-
final
- expirationReason → String?
-
final
- expiresAt → int?
-
final
- gateway → String?
-
final
- gatewayPriceIdentifier → String?
-
final
- gatewayProductIdentifier → String?
-
final
- gatewaySubscriptionIdentifier → String?
-
final
- gracePeriodScheduledExpiry → int?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isInBillingRetryPeriod → bool?
-
final
- isInGracePeriod → bool?
-
final
- isInTrialPeriod → bool?
-
final
- isLifetime → bool?
-
final
- isPaused → bool?
-
final
- isRefund → bool?
-
final
- isSandbox → int?
-
final
- lastRenewedAt → int?
-
final
- latestTransactionId → String?
-
final
- nextRenewalAt → int?
-
final
- offerType → SGOfferType?
-
final
- pauseEndsAt → int?
-
final
- pauseStartsAt → int?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → String?
-
final
- subscriptionStartsAt → int?
-
final
- unsubscribedAt → int?
-
final
- willAutoRenew → bool?
-
final
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