interface CouponInterface implements ResourceInterface, RetrieveInterface, UpdateInterface, ListAllInterface, DeleteInterface

Methods

string
getId()

No description

mixed
retrieve(string $id)

No description

mixed
update(string $id, array $data)

No description

listAll(array $arguments)

No description

mixed
delete(string $id)

No description

create(DurationTypeInterface $duration, CouponTypeInterface $type, array $arguments = [], string $key = null)

No description

Details

in Identifiable at line 7
string getId()

Return Value

string

in RetrieveInterface at line 15
mixed retrieve(string $id)

Parameters

string $id

Return Value

mixed

in UpdateInterface at line 16
mixed update(string $id, array $data)

Parameters

string $id
array $data

Return Value

mixed

in ListAllInterface at line 7
listAll(array $arguments)

Parameters

array $arguments

in DeleteInterface at line 15
mixed delete(string $id)

Parameters

string $id

Return Value

mixed

at line 15
CouponInterface create(DurationTypeInterface $duration, CouponTypeInterface $type, array $arguments = [], string $key = null)

Parameters

DurationTypeInterface $duration
CouponTypeInterface $type
array $arguments
string $key

Return Value

CouponInterface