1: | <?php |
2: | namespace Hyperwallet\Model; |
3: | |
4: | /** |
5: | * Represents a V4 Program |
6: | * |
7: | * @property string[] $countries The transfer method countries |
8: | * @property string[] $currencies The transfer method currencies |
9: | * @property string $type The transfer method type |
10: | * @property string $profileType The profile type |
11: | * @property array $fields All transfer method field definitions |
12: | * |
13: | * @package Hyperwallet\Model |
14: | */ |
15: | class TransferMethodConfiguration extends BaseModel { |
16: | |
17: | /** |
18: | * @internal |
19: | * |
20: | * Read only fields |
21: | * |
22: | * @var string[] |
23: | */ |
24: | private static $READ_ONLY_FIELDS = array('countries', 'currencies', 'type', 'profileType', 'fields'); |
25: | |
26: | public static function FILTERS_ARRAY() { |
27: | return array('userToken', 'limit'); |
28: | } |
29: | |
30: | /** |
31: | * Creates a instance of TransferMethodConfiguration |
32: | * |
33: | * @param string[] $properties The default properties |
34: | */ |
35: | public function __construct(array $properties = array()) { |
36: | parent::__construct(self::$READ_ONLY_FIELDS, $properties); |
37: | } |
38: | |
39: | /** |
40: | * Get the transfer method countries |
41: | * |
42: | * @return string[] |
43: | */ |
44: | public function getCountries() { |
45: | return $this->countries; |
46: | } |
47: | |
48: | /** |
49: | * Get the transfer method currencies |
50: | * |
51: | * @return string[] |
52: | */ |
53: | public function getCurrencies() { |
54: | return $this->currencies; |
55: | } |
56: | |
57: | /** |
58: | * Get the transfer method type |
59: | * |
60: | * @return string |
61: | */ |
62: | public function getType() { |
63: | return $this->type; |
64: | } |
65: | |
66: | /** |
67: | * Get the profile type |
68: | * |
69: | * @return string |
70: | */ |
71: | public function getProfileType() { |
72: | return $this->profileType; |
73: | } |
74: | |
75: | /** |
76: | * Get all transfer method field definitions |
77: | * |
78: | * @return array |
79: | */ |
80: | public function getFields() { |
81: | return $this->fields; |
82: | } |
83: | |
84: | } |
85: |