-
Notifications
You must be signed in to change notification settings - Fork 13
/
CreateCardRequest.php
67 lines (57 loc) · 1.07 KB
/
CreateCardRequest.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<?php
/**
* User: Joe Linn
* Date: 3/20/2014
* Time: 2:39 PM
*/
namespace Stripe\Request\Cards;
class CreateCardRequest extends UpdateCardRequest
{
protected $number;
protected $cvc;
/**
* @param string $number
* @param int $expMonth
* @param int $expYear
* @param mixed $cvc
*/
public function __construct($number, $expMonth, $expYear, $cvc = null)
{
$this->number = $number;
$this->expMonth = $expMonth;
$this->expYear = $expYear;
$this->cvc = $cvc;
}
/**
* @return mixed
*/
public function getCvc()
{
return $this->cvc;
}
/**
* @param mixed $cvc
* @return $this
*/
public function setCvc($cvc)
{
$this->cvc = $cvc;
return $this;
}
/**
* @return mixed
*/
public function getNumber()
{
return $this->number;
}
/**
* @param mixed $number
* @return $this
*/
public function setNumber($number)
{
$this->number = $number;
return $this;
}
}