order_pay_request.dart 611 B

1234567891011121314151617181920212223242526272829
  1. import 'package:json_annotation/json_annotation.dart';
  2. import '../../../base/app_base_request.dart';
  3. part 'order_pay_request.g.dart';
  4. @JsonSerializable()
  5. class OrderPayRequest extends AppBaseRequest {
  6. @JsonKey(name: 'itemId')
  7. int goodsId;
  8. @JsonKey(name: 'payPlatform')
  9. int payPlatform;
  10. @JsonKey(name: 'payMethod')
  11. int payMethod;
  12. @JsonKey(name: 'returnUrl')
  13. String? returnUrl;
  14. OrderPayRequest(
  15. {required this.goodsId,
  16. required this.payPlatform,
  17. required this.payMethod,this.returnUrl});
  18. @override
  19. Map<String, dynamic> toJson() => _$OrderPayRequestToJson(this);
  20. }