Class: PaymentService
Defined in: | src/service/payment/hapi.coffee |
Overview
The default PaymentService, as used by a PurchaseService.
Instance Method Summary
- - (void) constructor(client) Constructor Create a new PaymentService with a HAPILib restClient.
- - (void) purchase(userId, goodId, callback) Purchase a good for a user.
Constructor Details
- (void) constructor(client)
Create a new PaymentService with a HAPILib restClient.
Instance Method Details
- (void) purchase(userId, goodId, callback)
Purchase a good for a user.