123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349 |
- <?php
- namespace HitPay\Request;
- class CreatePayment
- {
-
- public $amount;
-
- public $currency;
-
- public $payment_methods;
-
- public $email;
-
- public $purpose;
-
- public $name;
-
- public $phone;
-
- public $reference_number;
-
- public $redirect_url;
-
- public $webhook;
-
- public $allow_repeated_payments;
-
- public $expiry_date;
-
- public $channel;
-
- public function getAmount()
- {
- return $this->amount;
- }
-
- public function getCurrency()
- {
- return $this->currency;
- }
-
- public function getPaymentMethods()
- {
- return $this->payment_methods;
- }
-
- public function getEmail()
- {
- return $this->email;
- }
-
- public function getPurpose()
- {
- return $this->purpose;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function getPhone()
- {
- return $this->phone;
- }
-
- public function getReferenceNumber()
- {
- return $this->reference_number;
- }
-
- public function getRedirectUrl()
- {
- return $this->redirect_url;
- }
-
- public function getWebhook()
- {
- return $this->webhook;
- }
-
- public function isAllowRepeatedPayments()
- {
- return $this->allow_repeated_payments;
- }
-
- public function getExpiryDate()
- {
- return $this->expiry_date;
- }
-
- public function setAmount($amount)
- {
- $this->amount = $amount;
- return $this;
- }
-
- public function setCurrency($currency)
- {
- $this->currency = $currency;
- return $this;
- }
-
- public function setPaymentMethods($payment_methods)
- {
- $this->payment_methods = $payment_methods;
- return $this;
- }
-
- public function setEmail($email)
- {
- $this->email = $email;
- return $this;
- }
-
- public function setPurpose($purpose)
- {
- $this->purpose = $purpose;
- return $this;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- return $this;
- }
-
- public function setPhone($phone)
- {
- $this->phone = $phone;
- return $this;
- }
-
- public function setReferenceNumber($reference_number)
- {
- $this->reference_number = $reference_number;
- return $this;
- }
-
- public function setRedirectUrl($redirect_url)
- {
- $this->redirect_url = $redirect_url;
- return $this;
- }
-
- public function setWebhook($webhook)
- {
- $this->webhook = $webhook;
- return $this;
- }
-
- public function setAllowRepeatedPayments($allow_repeated_payments)
- {
- $this->allow_repeated_payments = $allow_repeated_payments;
- return $this;
- }
-
- public function setExpiryDate($expiry_date)
- {
- $this->expiry_date = $expiry_date;
- return $this;
- }
-
- public function getChannel()
- {
- return $this->channel;
- }
-
- public function setChannel($channel)
- {
- $this->channel = $channel;
- return $this;
- }
- }
|