"""Script used to define the paystack Product class."""

from paystackapi.base import PayStackBase


class Product(PayStackBase):
    """docstring for Product."""

    @classmethod
    def create(cls, **kwargs):
        """
        Function defined to create customer.

        Args:
            name: name of the product
            description: description of product
            price: price of the product, in kobo
            currency: customer's phone number.

        Returns:
            Json data from paystack API.
        """
        return cls().requests.post('product', data=kwargs,)

@@ -411,16 +411,25 @@
  in kobo
+(Integer)
 %0A       
@@ -599,8 +599,246 @@
 wargs,)%0A
+%0A%0A    @classmethod%0A    def list(cls):%0A        %22%22%22%0A        List Products.%0A%0A        Args:%0A            No argument required.%0A%0A        Returns:%0A            Json data from paystack API.%0A        %22%22%22%0A        return cls().requests.get('product')%0A

Add list product resources