ChargeSavedCard.php 1007 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <?php
  2. namespace HitPay\Request;
  3. /**
  4. * Class ChargeSavedCard - https://staging.hit-pay.com/docs.html?shell#payment-requests
  5. *
  6. * @package HitPay\Request
  7. */
  8. class ChargeSavedCard
  9. {
  10. /**
  11. * Amount related to the payment
  12. *
  13. * @var float
  14. */
  15. public $amount;
  16. /**
  17. * Currency related to the payment
  18. *
  19. * @var string
  20. */
  21. public $currency;
  22. /**
  23. * @return float
  24. */
  25. public function getAmount()
  26. {
  27. return $this->amount;
  28. }
  29. /**
  30. * @return string
  31. */
  32. public function getCurrency()
  33. {
  34. return $this->currency;
  35. }
  36. /**
  37. * @param float $amount
  38. * @return CreateSubscriptionPlan
  39. */
  40. public function setAmount($amount)
  41. {
  42. $this->amount = $amount;
  43. return $this;
  44. }
  45. /**
  46. * @param string $currency
  47. * @return CreateSubscriptionPlan
  48. */
  49. public function setCurrency($currency)
  50. {
  51. $this->currency = $currency;
  52. return $this;
  53. }
  54. }