/// productId : ""
/// productGroup : ""
/// obtainAmount : 0.0
/// balanceAmount : 0.0

class SCGooglePayRes {
  SCGooglePayRes({
      String? productId,
      String? productGroup,
      num? obtainAmount,
      num? balanceAmount,}){
    _productId = productId;
    _productGroup = productGroup;
    _obtainAmount = obtainAmount;
    _balanceAmount = balanceAmount;
}

  SCGooglePayRes.fromJson(dynamic json) {
    _productId = json['productId'];
    _productGroup = json['productGroup'];
    _obtainAmount = json['obtainAmount'];
    _balanceAmount = json['balanceAmount'];
  }
  String? _productId;
  String? _productGroup;
  num? _obtainAmount;
  num? _balanceAmount;
SCGooglePayRes copyWith({  String? productId,
  String? productGroup,
  num? obtainAmount,
  num? balanceAmount,
}) => SCGooglePayRes(  productId: productId ?? _productId,
  productGroup: productGroup ?? _productGroup,
  obtainAmount: obtainAmount ?? _obtainAmount,
  balanceAmount: balanceAmount ?? _balanceAmount,
);
  String? get productId => _productId;
  String? get productGroup => _productGroup;
  num? get obtainAmount => _obtainAmount;
  num? get balanceAmount => _balanceAmount;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['productId'] = _productId;
    map['productGroup'] = _productGroup;
    map['obtainAmount'] = _obtainAmount;
    map['balanceAmount'] = _balanceAmount;
    return map;
  }

}