1 <?php
2
3 namespace PayPal\Api;
4
5 use PayPal\Common\PayPalModel;
6
7 /**
8 * Class CreditCardHistory
9 *
10 * A list of Credit Card Resources
11 *
12 * @package PayPal\Api
13 *
14 * @property \PayPal\Api\CreditCard[] credit_cards
15 * @property int count
16 * @property string next_id
17 */
18 class CreditCardHistory extends PayPalModel
19 {
20 /**
21 * A list of credit card resources
22 *
23 *
24 * @param \PayPal\Api\CreditCard[] $credit_cards
25 * @return $this
26 */
27 public function setCreditCards($credit_cards)
28 {
29 $this->{"credit-cards"} = $credit_cards;
30 return $this;
31 }
32
33 /**
34 * A list of credit card resources
35 *
36 * @return \PayPal\Api\CreditCard
37 */
38 public function getCreditCards()
39 {
40 return $this->{"credit-cards"};
41 }
42
43 /**
44 * Number of items returned in each range of results. Note that the last results range could have fewer items than the requested number of items.
45 *
46 *
47 * @param int $count
48 *
49 * @return $this
50 */
51 public function setCount($count)
52 {
53 $this->count = $count;
54 return $this;
55 }
56
57 /**
58 * Number of items returned in each range of results. Note that the last results range could have fewer items than the requested number of items.
59 *
60 * @return int
61 */
62 public function getCount()
63 {
64 return $this->count;
65 }
66
67 /**
68 * Identifier of the next element to get the next range of results.
69 *
70 *
71 * @param string $next_id
72 *
73 * @return $this
74 */
75 public function setNextId($next_id)
76 {
77 $this->next_id = $next_id;
78 return $this;
79 }
80
81 /**
82 * Identifier of the next element to get the next range of results.
83 *
84 * @return string
85 */
86 public function getNextId()
87 {
88 return $this->next_id;
89 }
90
91 }
92