Card.php 595 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. namespace Stripe\Error;
  3. class Card extends Base
  4. {
  5. public function __construct(
  6. $message,
  7. $stripeParam,
  8. $stripeCode,
  9. $httpStatus,
  10. $httpBody,
  11. $jsonBody,
  12. $httpHeaders = null
  13. ) {
  14. parent::__construct($message, $httpStatus, $httpBody, $jsonBody, $httpHeaders);
  15. $this->stripeParam = $stripeParam;
  16. $this->stripeCode = $stripeCode;
  17. }
  18. public function getStripeCode()
  19. {
  20. return $this->stripeCode;
  21. }
  22. public function getStripeParam()
  23. {
  24. return $this->stripeParam;
  25. }
  26. }