import 'package:clean/base/base_request.dart';
import 'package:json_annotation/json_annotation.dart';

part 'subscription_resume_request.g.dart';

@JsonSerializable()
class SubscriptionResumeRequest extends BaseRequest {
  @JsonKey(name: 'receiptData')
  String receiptData;

  @JsonKey(name: 'payPlatform')
  int payPlatform;

  @JsonKey(name: 'payMethod')
  int payMethod;

  SubscriptionResumeRequest(this.payPlatform, this.payMethod, this.receiptData);

  @override
  Map<String, dynamic> toJson() => _$SubscriptionResumeRequestToJson(this);
}