/* Options: Date: 2026-11-08 11:52:41 Version: 5.140 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://devapi.billhighway.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: SalesForceCreditCardVerify.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class IHaveErrorField { bool? IsError; } abstract class IHaveErrorField { bool? IsError; } class CreditCardVerifyReply implements IHaveErrorField, IConvertible { String? UniqueId; int? ErrorCode; String? ErrorMessage; String? CardRef; bool? IsError; CreditCardVerifyReply({this.UniqueId,this.ErrorCode,this.ErrorMessage,this.CardRef,this.IsError}); CreditCardVerifyReply.fromJson(Map json) { fromMap(json); } fromMap(Map json) { UniqueId = json['UniqueId']; ErrorCode = json['ErrorCode']; ErrorMessage = json['ErrorMessage']; CardRef = json['CardRef']; IsError = json['IsError']; return this; } Map toJson() => { 'UniqueId': UniqueId, 'ErrorCode': ErrorCode, 'ErrorMessage': ErrorMessage, 'CardRef': CardRef, 'IsError': IsError }; getTypeName() => "CreditCardVerifyReply"; TypeContext? context = _ctx; } // @Route("/payments/CreditCard/Verify", "POST") class SalesForceCreditCardVerify implements IReturn, IConvertible { String? UniqueId; int? ClientId; String? GroupId; String? UserId; int? BhUserId; String? Location; String? CurrencyCode; String? NameOnCard; String? Address1; String? Address2; String? City; String? State; String? PostalCode; bool? VerifyPostalCode; String? Country; String? CardType; String? CardReferenceOrCardNumber; int? ExpMonth; int? ExpYear; String? Cvv; double? Amount; String? ChapAndUser; String? Description; int? PayLinkID; SalesForceCreditCardVerify({this.UniqueId,this.ClientId,this.GroupId,this.UserId,this.BhUserId,this.Location,this.CurrencyCode,this.NameOnCard,this.Address1,this.Address2,this.City,this.State,this.PostalCode,this.VerifyPostalCode,this.Country,this.CardType,this.CardReferenceOrCardNumber,this.ExpMonth,this.ExpYear,this.Cvv,this.Amount,this.ChapAndUser,this.Description,this.PayLinkID}); SalesForceCreditCardVerify.fromJson(Map json) { fromMap(json); } fromMap(Map json) { UniqueId = json['UniqueId']; ClientId = json['ClientId']; GroupId = json['GroupId']; UserId = json['UserId']; BhUserId = json['BhUserId']; Location = json['Location']; CurrencyCode = json['CurrencyCode']; NameOnCard = json['NameOnCard']; Address1 = json['Address1']; Address2 = json['Address2']; City = json['City']; State = json['State']; PostalCode = json['PostalCode']; VerifyPostalCode = json['VerifyPostalCode']; Country = json['Country']; CardType = json['CardType']; CardReferenceOrCardNumber = json['CardReferenceOrCardNumber']; ExpMonth = json['ExpMonth']; ExpYear = json['ExpYear']; Cvv = json['Cvv']; Amount = JsonConverters.toDouble(json['Amount']); ChapAndUser = json['ChapAndUser']; Description = json['Description']; PayLinkID = json['PayLinkID']; return this; } Map toJson() => { 'UniqueId': UniqueId, 'ClientId': ClientId, 'GroupId': GroupId, 'UserId': UserId, 'BhUserId': BhUserId, 'Location': Location, 'CurrencyCode': CurrencyCode, 'NameOnCard': NameOnCard, 'Address1': Address1, 'Address2': Address2, 'City': City, 'State': State, 'PostalCode': PostalCode, 'VerifyPostalCode': VerifyPostalCode, 'Country': Country, 'CardType': CardType, 'CardReferenceOrCardNumber': CardReferenceOrCardNumber, 'ExpMonth': ExpMonth, 'ExpYear': ExpYear, 'Cvv': Cvv, 'Amount': Amount, 'ChapAndUser': ChapAndUser, 'Description': Description, 'PayLinkID': PayLinkID }; createResponse() => CreditCardVerifyReply(); getResponseTypeName() => "CreditCardVerifyReply"; getTypeName() => "SalesForceCreditCardVerify"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'devapi.billhighway.com', types: { 'IHaveErrorField': TypeInfo(TypeOf.Interface), 'CreditCardVerifyReply': TypeInfo(TypeOf.Class, create:() => CreditCardVerifyReply()), 'SalesForceCreditCardVerify': TypeInfo(TypeOf.Class, create:() => SalesForceCreditCardVerify()), });