PaymentMethod
public enum PaymentMethod : Equatable
Representing how a user will pay for their visit
-
Pay on arrival at retail clinic
Declaration
Swift
case `self` -
Payment with coupon code
Declaration
Swift
case couponCode(String) -
Payment with credit card
Declaration
Swift
case creditCard(stripeToken: String)Parameters
stripeTokena generated Stripe Token used for payment
-
Undocumented
Declaration
Swift
case insuranceManualSelf(memberId: String, providerId: String, insuranceGroupNumber: String? = nil) -
Payment by typing my own insurance information to form
Declaration
Swift
case insuranceManualSelfWithPayor(memberId: String, payorId: String, insuranceGroupNumber: String? = nil, payorName: String? = nil)Parameters
memberIda user’s unique id for their insurance provider
payorIda unique id representing the insurance provider. The supported list can be retrieved by calling
VirtualService.getInsurancePayersinsuranceGroupNumberan optional parameter to include group numbers
payorNamean optional parameter to include the Insurance Provider/Payor name. The supported list can be retrieved by calling
VirtualService.getInsurancePayers -
insuranceManualOther(firstName:lastName: gender: dateOfBirth: memberId: providerId: insuranceGroupNumber: ) Undocumented
Declaration
Swift
case insuranceManualOther(firstName: String, lastName: String, gender: Gender, dateOfBirth: Date, memberId: String, providerId: String, insuranceGroupNumber: String? = nil) -
insuranceManualOtherWithPayor(firstName:lastName: gender: dateOfBirth: memberId: payorId: insuranceGroupNumber: payorName: subscriberId: ) Payment by typing someone else’s insurance information into a form
Declaration
Swift
case insuranceManualOtherWithPayor(firstName: String, lastName: String, gender: Gender, dateOfBirth: Date, memberId: String, payorId: String, insuranceGroupNumber: String? = nil, payorName: String? = nil, subscriberId: String? = nil)Parameters
firstNamethe given name of the insured person
lastNamethe family name of the insured person
genderthe
Genderof the insured persondateOfBirththe birth date of the insured person
memberIdthe unique id of the insured person for their insurance provider
payorIda unique id representing the insurance provider. The supported list can be retrieved by calling
VirtualService.getInsurancePayersinsuranceGroupNumberan optional parameter to include group number
payorNamean optional parameter to include the Insurance Provider/Payor name. The supported list can be retrieved by calling
VirtualService.getInsurancePayerssubscriberIdan optional parameter when insurance providers require it
-
Undocumented
Declaration
Swift
case insuranceImageSelf(cardId: String) -
Payment by submitting a photo of someone else’s insurance card
Declaration
Swift
case insuranceImageOther(firstName: String, lastName: String, gender: Gender, dateOfBirth: Date, cardId: String)Parameters
cardIdthe id of the previously uploaded card. This can be retrieved by calling
RetailService.uploadInsuranceCardfirst.
View on GitHub
Install in Dash
PaymentMethod Enumeration Reference