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 insuranceManualSelf(memberId: String, providerId: String)Parameters
memberIda user’s unique id for their insurance provider
providerIda unique id representing the insurance provider. The supported list can be retrieved by calling
VirtualService.getInsurancePayers -
Payment by typing someone else’s insurance information into a form
Declaration
Swift
case insuranceManualOther(firstName: String, lastName: String, gender: Gender, dateOfBirth: Date, memberId: String, providerId: String)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
providerIda unique id representing the insurance provider. The supported list can be retrieved by calling
VirtualService.getInsurancePayers -
Payment by submitting a photo of my own insurance card
Declaration
Swift
case insuranceImageSelf(cardId: String)Parameters
cardIdthe id of the previously-uploaded card. This can be retrieved by calling
RetailService.uploadInsuranceCardfirst. -
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