PaymentLinkSubscriptionDataTrialSettings.fromJson constructor

PaymentLinkSubscriptionDataTrialSettings.fromJson(
  1. Object? json
)

Implementation

factory PaymentLinkSubscriptionDataTrialSettings.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return PaymentLinkSubscriptionDataTrialSettings(
      endBehavior: SubscriptionsTrialsResourceEndBehavior.fromJson(
          map['end_behavior']));
}