1 | <?php |
||
10 | class Payer extends AbstractModel |
||
11 | { |
||
12 | /** |
||
13 | * @JMS\Type("string") |
||
14 | * @JMS\SerializedName("payment_method") |
||
15 | * |
||
16 | * @var string |
||
17 | */ |
||
18 | protected $paymentMethod; |
||
19 | |||
20 | /** |
||
21 | * @JMS\Type("array<Onend\PayPal\Payment\Model\FundingInstrument>") |
||
22 | * @JMS\SerializedName("funding_instruments") |
||
23 | * |
||
24 | * @var FundingInstrument[] |
||
25 | */ |
||
26 | protected $fundingInstruments; |
||
27 | |||
28 | /** |
||
29 | * @JMS\Type("Onend\PayPal\Payment\Model\PayerInfo") |
||
30 | * @JMS\SerializedName("payer_info") |
||
31 | * |
||
32 | * @var PayerInfo |
||
33 | */ |
||
34 | protected $payerInfo; |
||
35 | |||
36 | /** |
||
37 | * @return FundingInstrument[] |
||
38 | */ |
||
39 | public function getFundingInstruments() |
||
43 | |||
44 | /** |
||
45 | * @param FundingInstrument[] $fundingInstruments |
||
46 | */ |
||
47 | public function setFundingInstruments(array $fundingInstruments) |
||
53 | |||
54 | /** |
||
55 | * @param FundingInstrument $fundingInstrument |
||
56 | */ |
||
57 | public function addFundingInstrument(FundingInstrument $fundingInstrument) |
||
61 | |||
62 | /** |
||
63 | * @return string |
||
64 | */ |
||
65 | public function getPaymentMethod() |
||
69 | |||
70 | /** |
||
71 | * @param string $paymentMethod |
||
72 | * @throws \InvalidArgumentException |
||
73 | */ |
||
74 | public function setPaymentMethod($paymentMethod) |
||
79 | |||
80 | /** |
||
81 | * @return PayerInfo |
||
82 | */ |
||
83 | public function getPayerInfo() |
||
87 | |||
88 | /** |
||
89 | * @param PayerInfo $payerInfo |
||
90 | */ |
||
91 | public function setPayerInfo(PayerInfo $payerInfo) |
||
95 | } |
||
96 |