Product

public class Product : UserProductAPI

Gives you access to product related information for a user

  • Retrieve the user product data.

    Declaration

    Swift

    @discardableResult
    public func fetch(productID: String, completion: @escaping (Result<UserProduct, ClientError>) -> Void) -> TaskHandle

    Parameters

    productID

    which product to fetch information for

    completion

    a callback that receives the UserProduct or an error.