Instance Method

getCustomerInfo(completion:)

Get latest available customer info.

Declaration

@objc func getCustomerInfo(completion: @escaping (CustomerInfo?, Error?) -> Void)

Parameters

completion

A completion block called when customer info is available and not stale. Called immediately if CustomerInfo is cached. Customer info can be nil if an error occurred.

See Also

Subscription Status