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

part 'order_status_request.g.dart';

@JsonSerializable()
class OrderStatusRequest extends BaseRequest {
  @JsonKey(name: 'outTradeNo')
  String outTradeNo;

  @JsonKey(name: 'receiptData')
  String? receiptData;

  OrderStatusRequest(this.outTradeNo, this.receiptData);

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