This class is used to represent the types of channels in a request to Simpay API.
This property indicates whether the channel supports BLIK.
This property indicates whether the channel supports bank transfer.
This property indicates whether the channel supports card payments.
This property indicates whether the channel supports e-wallet payments.
This property indicates whether the channel supports PayPal.
__construct(bool $blik = false, bool $transfer = false, bool $cards = false, bool $ewallets = false, bool $paypal = false)
This method is used to create a new instance of the ChannelType class.
$blik(bool): Indicates whether the channel supports BLIK.$transfer(bool): Indicates whether the channel supports bank transfer.$cards(bool): Indicates whether the channel supports card payments.$ewallets(bool): Indicates whether the channel supports e-wallet payments.$paypal(bool): Indicates whether the channel supports PayPal.
This method is used to return an array representation of the ChannelType object.
- Returns an array with a single key
channel_typesand an array of all the channel type properties.