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
-
Payment by typing my own insurance information to form
Declaration
Swift
case insuranceSelf(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 -
insuranceOther(firstName:lastName: gender: dateOfBirth: memberId: payorId: insuranceGroupNumber: payorName: subscriberId: ) Payment by typing someone else’s insurance information into a form
Declaration
Swift
case insuranceOther(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
View on GitHub
Install in Dash