$properties
$properties
Base class for all domain objects.
createCoupon(array $hash, mixed $authentication) : \Coupon
Creates an Simplify_Coupon object
array | $hash | a map of parameters; valid keys are:
|
mixed | $authentication |
|
a Coupon object.
deleteCoupon(mixed $authentication)
Deletes an Simplify_Coupon object.
mixed | $authentication |
|
listCoupon( $criteria, mixed $authentication) : \ResourceList
Retrieve Simplify_Coupon objects.
$criteria | ||
mixed | $authentication |
|
a ResourceList object that holds the list of Coupon objects and the total number of Coupon objects available for the given criteria.
findCoupon( $id, mixed $authentication) : \Coupon
Retrieve a Simplify_Coupon object from the API
$id | ||
mixed | $authentication |
|
a Coupon object
updateCoupon(mixed $authentication) : \Coupon
Updates an Simplify_Coupon object.
The properties that can be updated:
mixed | $authentication |
|
a Coupon object.