Completed
Pull Request — master (#124)
by
unknown
29:37
created

getCustomerProfileId()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %
Metric Value
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace net\authorize\api\contract\v1;
4
5
/**
6
 * Class representing CreateCustomerPaymentProfileRequest
7
 */
8
class CreateCustomerPaymentProfileRequest extends ANetApiRequestType
9
{
10
11
    /**
12
     * @property string $customerProfileId
13
     */
14
    private $customerProfileId = null;
15
16
    /**
17
     * @property \net\authorize\api\contract\v1\CustomerPaymentProfileType
18
     * $paymentProfile
19
     */
20
    private $paymentProfile = null;
21
22
    /**
23
     * @property string $validationMode
24
     */
25
    private $validationMode = null;
26
27
    /**
28
     * Gets as customerProfileId
29
     *
30
     * @return string
31
     */
32
    public function getCustomerProfileId()
33
    {
34
        return $this->customerProfileId;
35
    }
36
37
    /**
38
     * Sets a new customerProfileId
39
     *
40
     * @param string $customerProfileId
41
     * @return self
42
     */
43
    public function setCustomerProfileId($customerProfileId)
44
    {
45
        $this->customerProfileId = $customerProfileId;
46
        return $this;
47
    }
48
49
    /**
50
     * Gets as paymentProfile
51
     *
52
     * @return \net\authorize\api\contract\v1\CustomerPaymentProfileType
53
     */
54
    public function getPaymentProfile()
55
    {
56
        return $this->paymentProfile;
57
    }
58
59
    /**
60
     * Sets a new paymentProfile
61
     *
62
     * @param \net\authorize\api\contract\v1\CustomerPaymentProfileType $paymentProfile
63
     * @return self
64
     */
65
    public function setPaymentProfile(\net\authorize\api\contract\v1\CustomerPaymentProfileType $paymentProfile)
66
    {
67
        $this->paymentProfile = $paymentProfile;
68
        return $this;
69
    }
70
71
    /**
72
     * Gets as validationMode
73
     *
74
     * @return string
75
     */
76
    public function getValidationMode()
77
    {
78
        return $this->validationMode;
79
    }
80
81
    /**
82
     * Sets a new validationMode
83
     *
84
     * @param string $validationMode
85
     * @return self
86
     */
87
    public function setValidationMode($validationMode)
88
    {
89
        $this->validationMode = $validationMode;
90
        return $this;
91
    }
92
93
94
}
95
96