1: <?php
2: namespace Hyperwallet\Model;
3:
4: /**
5: * Represents a V4 Transfer Method
6: *
7: * @property string $token The transfer method token
8: * @property string $type The transfer method type
9: *
10: * @property string $status The bank account status
11: * @property \DateTime $createdOn The bank account creation date
12: *
13: * @property string $transferMethodCountry The transfer method country
14: * @property string $transferMethodCurrency The transfer method currency
15: *
16: * @property string $cardType The prepaid card type
17: *
18: * @property string $cardPackage The prepaid card package
19: * @property string $cardNumber The prepaid card number
20: * @property string $cardBrand The prepaid card brand
21: * @property \DateTime $dateOfExpiry The prepaid card expiry date
22: *
23: * @property string $bankName The bank name
24: * @property string $bankId The bank id
25: * @property string $branchName The branch name
26: * @property string $branchId The branch id
27: * @property string $bankAccountId The bank account id
28: * @property string $bankAccountPurpose The bank account purpose
29: *
30: * @property string $branchAddressLine1 The branch address line 1
31: * @property string $branchAddressLine2 The branch address line 2
32: * @property string $branchCity The branch city
33: * @property string $branchStateProvince The branch state or province
34: * @property string $branchCountry The branch country
35: * @property string $branchPostalCode The branch postal code
36: *
37: * @property string $wireInstructions The wire instructions
38: *
39: * @property string $intermediaryBankId The intermediary bank id
40: * @property string $intermediaryBankName The intermediary bank name
41: * @property string $intermediaryBankAccountId The intermediary bank account id
42: *
43: * @property string $intermediaryAddressLine1 The intermediary address line 1
44: * @property string $intermediaryAddressLine2 The intermediary address line 2
45: * @property string $intermediaryCity The intermediary city
46: * @property string $intermediaryStateProvince The intermediary state or province
47: * @property string $intermediaryCountry The intermediary country
48: * @property string $intermediaryPostalCode The intermediary postal code
49: *
50: * @property string $profileType The profile type
51: *
52: * @property string $businessName The business name
53: * @property string $businessOperatingName The business operating name
54: * @property string $businessRegistrationId The business registration id
55: * @property string $businessRegistrationCountry The business registration country
56: *
57: * @property string $firstName The first name
58: * @property string $middleName The middle name
59: * @property string $lastName The last name
60: * @property \DateTime $dateOfBirth The date of birth
61: * @property string $countryOfBirth The country of birth
62: * @property string $countryOfNationality The country of nationality
63: * @property string $phoneNumber The phone number
64: * @property string $mobileNumber The mobile number
65: *
66: * @property string $governmentId The government id
67: *
68: * @property string $addressLine1 The address line 1
69: * @property string $city The city
70: * @property string $stateProvince The state or province
71: * @property string $country The country
72: * @property string $postalCode The postal code
73: * @property bool $isDefaultTransferMethod The flag to denote default account
74: *
75: * @package Hyperwallet\Model
76: */
77: class TransferMethod extends BaseModel {
78:
79: /**
80: * @internal
81: *
82: * Read only fields
83: *
84: * @var string[]
85: */
86: private static $READ_ONLY_FIELDS = array('token', 'status', 'cardType', 'cardNumber', 'cardBrand', 'dateOfExpiry', 'createdOn');
87:
88: public static function FILTERS_ARRAY() {
89: return array('status', 'type', 'createdBefore', 'createdAfter', 'sortBy', 'limit');
90: }
91:
92: const TYPE_PREPAID_CARD = 'PREPAID_CARD';
93: const TYPE_BANK_ACCOUNT = 'BANK_ACCOUNT';
94: const TYPE_WIRE_ACCOUNT = 'WIRE_ACCOUNT';
95:
96: const STATUS_QUEUED = 'QUEUED';
97: const STATUS_PRE_ACTIVATED = 'PRE_ACTIVATED';
98: const STATUS_ACTIVATED = 'ACTIVATED';
99: const STATUS_DECLINED = 'DECLINED';
100: const STATUS_LOCKED = 'LOCKED';
101: const STATUS_SUSPENDED = 'SUSPENDED';
102: const STATUS_LOST_OR_STOLEN = 'LOST_OR_STOLEN';
103: const STATUS_DE_ACTIVATED = 'DE_ACTIVATED';
104: const STATUS_COMPLIANCE_HOLD = 'COMPLIANCE_HOLD';
105: const STATUS_KYC_HOLD = 'KYC_HOLD';
106:
107: const CARD_TYPE_PERSONALIZED = 'PERSONALIZED';
108: const CARD_TYPE_VIRTUAL = 'VIRTUAL';
109:
110: const CARD_BRAND_VISA = 'VISA';
111: const CARD_BRAND_MASTERCARD = 'MASTERCARD';
112:
113: const PROFILE_TYPE_INDIVIDUAL = 'INDIVIDUAL';
114: const PROFILE_TYPE_BUSINESS = 'BUSINESS';
115:
116: /**
117: * Creates a instance of BankAccount
118: *
119: * @param string[] $properties The default properties
120: */
121: public function __construct(array $properties = array()) {
122: parent::__construct(self::$READ_ONLY_FIELDS, $properties);
123: }
124:
125: /**
126: * Get the bank account token
127: *
128: * @return string
129: */
130: public function getToken() {
131: return $this->token;
132: }
133:
134: /**
135: * Set the bank account token
136: *
137: * @param string $token
138: * @return TransferMethod
139: */
140: public function setToken($token) {
141: $this->token = $token;
142: return $this;
143: }
144:
145: /**
146: * Get the prepaid card package
147: *
148: * @return string
149: */
150: public function getCardPackage() {
151: return $this->cardPackage;
152: }
153:
154: /**
155: * Set the prepaid card package
156: *
157: * @param string $cardPackage
158: * @return TransferMethod
159: */
160: public function setCardPackage($cardPackage) {
161: $this->cardPackage = $cardPackage;
162: return $this;
163: }
164:
165: /**
166: * Get the prepaid card type
167: *
168: * @return string
169: */
170: public function getCardType() {
171: return $this->cardType;
172: }
173:
174: /**
175: * Get the prepaid card number
176: *
177: * @return string
178: */
179: public function getCardNumber() {
180: return $this->cardNumber;
181: }
182:
183: /**
184: * Get the prepaid card brand
185: *
186: * @return string
187: */
188: public function getCardBrand() {
189: return $this->cardBrand;
190: }
191:
192: /**
193: * Get the prepaid card expiry date
194: *
195: * @return \DateTime
196: */
197: public function getDateOfExpiry() {
198: return $this->dateOfExpiry ? new \DateTime($this->dateOfExpiry) : null;
199: }
200:
201: /**
202: * Get the bank account id
203: *
204: * @return string
205: */
206: public function getBankAccountId() {
207: return $this->bankAccountId;
208: }
209:
210: /**
211: * Set the bank account id
212: *
213: * @param string $bankAccountId
214: * @return TransferMethod
215: */
216: public function setBankAccountId($bankAccountId) {
217: $this->bankAccountId = $bankAccountId;
218: return $this;
219: }
220:
221: /**
222: * Get the transfer method type
223: *
224: * @return string
225: */
226: public function getType() {
227: return $this->type;
228: }
229:
230: /**
231: * Set the transfer method type
232: *
233: * @param string $type
234: * @return TransferMethod
235: */
236: public function setType($type) {
237: $this->type = $type;
238: return $this;
239: }
240:
241: /**
242: * Get the transfer method country
243: *
244: * @return string
245: */
246: public function getTransferMethodCountry() {
247: return $this->transferMethodCountry;
248: }
249:
250: /**
251: * Set the transfer method country
252: *
253: * @param string $transferMethodCountry
254: * @return TransferMethod
255: */
256: public function setTransferMethodCountry($transferMethodCountry) {
257: $this->transferMethodCountry = $transferMethodCountry;
258: return $this;
259: }
260:
261: /**
262: * Get the transfer method currency
263: *
264: * @return string
265: */
266: public function getTransferMethodCurrency() {
267: return $this->transferMethodCurrency;
268: }
269:
270: /**
271: * Set the transfer method currency
272: *
273: * @param string $transferMethodCurrency
274: * @return TransferMethod
275: */
276: public function setTransferMethodCurrency($transferMethodCurrency) {
277: $this->transferMethodCurrency = $transferMethodCurrency;
278: return $this;
279: }
280:
281: /**
282: * Get the bank name
283: *
284: * @return string
285: */
286: public function getBankName() {
287: return $this->bankName;
288: }
289:
290: /**
291: * Set the bank name
292: *
293: * @param string $bankName
294: * @return TransferMethod
295: */
296: public function setBankName($bankName) {
297: $this->bankName = $bankName;
298: return $this;
299: }
300:
301: /**
302: * Get the bank id
303: *
304: * @return string
305: */
306: public function getBankId() {
307: return $this->bankId;
308: }
309:
310: /**
311: * Set the bank id
312: *
313: * @param string $bankId
314: * @return TransferMethod
315: */
316: public function setBankId($bankId) {
317: $this->bankId = $bankId;
318: return $this;
319: }
320:
321: /**
322: * Get the branch name
323: *
324: * @return string
325: */
326: public function getBranchName() {
327: return $this->branchName;
328: }
329:
330: /**
331: * Set the branch name
332: *
333: * @param string $branchName
334: * @return TransferMethod
335: */
336: public function setBranchName($branchName) {
337: $this->branchName = $branchName;
338: return $this;
339: }
340:
341: /**
342: * Get the branch id
343: *
344: * @return string
345: */
346: public function getBranchId() {
347: return $this->branchId;
348: }
349:
350: /**
351: * Set the branch id
352: *
353: * @param string $branchId
354: * @return TransferMethod
355: */
356: public function setBranchId($branchId) {
357: $this->branchId = $branchId;
358: return $this;
359: }
360:
361: /**
362: * Get the bank account status
363: *
364: * @return string
365: */
366: public function getStatus() {
367: return $this->status;
368: }
369:
370: /**
371: * Get the bank account creation date
372: * @return \DateTime
373: */
374: public function getCreatedOn() {
375: return $this->createdOn ? new \DateTime($this->createdOn) : null;
376: }
377:
378: /**
379: * Get the bank account purpose
380: *
381: * @return string
382: */
383: public function getBankAccountPurpose() {
384: return $this->bankAccountPurpose;
385: }
386:
387: /**
388: * Set the bank account purpose
389: *
390: * @param string $bankAccountPurpose
391: * @return TransferMethod
392: */
393: public function setBankAccountPurpose($bankAccountPurpose) {
394: $this->bankAccountPurpose = $bankAccountPurpose;
395: return $this;
396: }
397:
398: /**
399: * Get the branch address line 1
400: *
401: * @return string
402: */
403: public function getBranchAddressLine1() {
404: return $this->branchAddressLine1;
405: }
406:
407: /**
408: * Set the branch address line 1
409: *
410: * @param string $branchAddressLine1
411: * @return TransferMethod
412: */
413: public function setBranchAddressLine1($branchAddressLine1) {
414: $this->branchAddressLine1 = $branchAddressLine1;
415: return $this;
416: }
417:
418: /**
419: * Get the branch address line 2
420: *
421: * @return string
422: */
423: public function getBranchAddressLine2() {
424: return $this->branchAddressLine2;
425: }
426:
427: /**
428: * Set the branch address line 2
429: *
430: * @param string $branchAddressLine2
431: * @return TransferMethod
432: */
433: public function setBranchAddressLine2($branchAddressLine2) {
434: $this->branchAddressLine2 = $branchAddressLine2;
435: return $this;
436: }
437:
438: /**
439: * Get the branch city
440: *
441: * @return string
442: */
443: public function getBranchCity() {
444: return $this->branchCity;
445: }
446:
447: /**
448: * Set the branch city
449: *
450: * @param string $branchCity
451: * @return TransferMethod
452: */
453: public function setBranchCity($branchCity) {
454: $this->branchCity = $branchCity;
455: return $this;
456: }
457:
458: /**
459: * Get the branch state or province
460: *
461: * @return string
462: */
463: public function getBranchStateProvince() {
464: return $this->branchStateProvince;
465: }
466:
467: /**
468: * Set the branch state or province
469: *
470: * @param string $branchStateProvince
471: * @return TransferMethod
472: */
473: public function setBranchStateProvince($branchStateProvince) {
474: $this->branchStateProvince = $branchStateProvince;
475: return $this;
476: }
477:
478: /**
479: * Get the branch country
480: *
481: * @return string
482: */
483: public function getBranchCountry() {
484: return $this->branchCountry;
485: }
486:
487: /**
488: * Set the branch country
489: *
490: * @param string $branchCountry
491: * @return TransferMethod
492: */
493: public function setBranchCountry($branchCountry) {
494: $this->branchCountry = $branchCountry;
495: return $this;
496: }
497:
498: /**
499: * Get the branch postal code
500: *
501: * @return string
502: */
503: public function getBranchPostalCode() {
504: return $this->branchPostalCode;
505: }
506:
507: /**
508: * Set the branch postal code
509: *
510: * @param string $branchPostalCode
511: * @return TransferMethod
512: */
513: public function setBranchPostalCode($branchPostalCode) {
514: $this->branchPostalCode = $branchPostalCode;
515: return $this;
516: }
517:
518: /**
519: * Get the wire instructions
520: *
521: * @return string
522: */
523: public function getWireInstructions() {
524: return $this->wireInstructions;
525: }
526:
527: /**
528: * Set the wire instructions
529: *
530: * @param string $wireInstructions
531: * @return TransferMethod
532: */
533: public function setWireInstructions($wireInstructions) {
534: $this->wireInstructions = $wireInstructions;
535: return $this;
536: }
537:
538: /**
539: * Get the intermediary bank id
540: *
541: * @return string
542: */
543: public function getIntermediaryBankId() {
544: return $this->intermediaryBankId;
545: }
546:
547: /**
548: * Set the intermediary bank id
549: *
550: * @param string $intermediaryBankId
551: * @return TransferMethod
552: */
553: public function setIntermediaryBankId($intermediaryBankId) {
554: $this->intermediaryBankId = $intermediaryBankId;
555: return $this;
556: }
557:
558: /**
559: * Get the intermediary bank name
560: *
561: * @return string
562: */
563: public function getIntermediaryBankName() {
564: return $this->intermediaryBankName;
565: }
566:
567: /**
568: * Set the intermediary bank name
569: *
570: * @param string $intermediaryBankName
571: * @return TransferMethod
572: */
573: public function setIntermediaryBankName($intermediaryBankName) {
574: $this->intermediaryBankName = $intermediaryBankName;
575: return $this;
576: }
577:
578: /**
579: * Get the intermediary bank account id
580: *
581: * @return string
582: */
583: public function getIntermediaryBankAccountId() {
584: return $this->intermediaryBankAccountId;
585: }
586:
587: /**
588: * Set the intermediary bank account id
589: *
590: * @param string $intermediaryBankAccountId
591: * @return TransferMethod
592: */
593: public function setIntermediaryBankAccountId($intermediaryBankAccountId) {
594: $this->intermediaryBankAccountId = $intermediaryBankAccountId;
595: return $this;
596: }
597:
598: /**
599: * Get the intermediary address line 1
600: *
601: * @return string
602: */
603: public function getIntermediaryAddressLine1() {
604: return $this->intermediaryAddressLine1;
605: }
606:
607: /**
608: * Set the intermediary address line 1
609: *
610: * @param string $intermediaryAddressLine1
611: * @return TransferMethod
612: */
613: public function setIntermediaryAddressLine1($intermediaryAddressLine1) {
614: $this->intermediaryAddressLine1 = $intermediaryAddressLine1;
615: return $this;
616: }
617:
618: /**
619: * Get the intermediary address line 2
620: *
621: * @return string
622: */
623: public function getIntermediaryAddressLine2() {
624: return $this->intermediaryAddressLine2;
625: }
626:
627: /**
628: * Set the intermediary address line 2
629: *
630: * @param string $intermediaryAddressLine2
631: * @return TransferMethod
632: */
633: public function setIntermediaryAddressLine2($intermediaryAddressLine2) {
634: $this->intermediaryAddressLine2 = $intermediaryAddressLine2;
635: return $this;
636: }
637:
638: /**
639: * Get the intermediary city
640: *
641: * @return string
642: */
643: public function getIntermediaryCity() {
644: return $this->intermediaryCity;
645: }
646:
647: /**
648: * Set the intermediary city
649: *
650: * @param string $intermediaryCity
651: * @return TransferMethod
652: */
653: public function setIntermediaryCity($intermediaryCity) {
654: $this->intermediaryCity = $intermediaryCity;
655: return $this;
656: }
657:
658: /**
659: * Get the intermediary state or province
660: *
661: * @return string
662: */
663: public function getIntermediaryStateProvince() {
664: return $this->intermediaryStateProvince;
665: }
666:
667: /**
668: * Set the intermediary state or province
669: *
670: * @param string $intermediaryStateProvince
671: * @return TransferMethod
672: */
673: public function setIntermediaryStateProvince($intermediaryStateProvince) {
674: $this->intermediaryStateProvince = $intermediaryStateProvince;
675: return $this;
676: }
677:
678: /**
679: * Get the intermediary country
680: *
681: * @return string
682: */
683: public function getIntermediaryCountry() {
684: return $this->intermediaryCountry;
685: }
686:
687: /**
688: * Set the intermediary country
689: *
690: * @param string $intermediaryCountry
691: * @return TransferMethod
692: */
693: public function setIntermediaryCountry($intermediaryCountry) {
694: $this->intermediaryCountry = $intermediaryCountry;
695: return $this;
696: }
697:
698: /**
699: * Get the intermediary postal code
700: *
701: * @return string
702: */
703: public function getIntermediaryPostalCode() {
704: return $this->intermediaryPostalCode;
705: }
706:
707: /**
708: * Set the intermediary postal code
709: *
710: * @param string $intermediaryPostalCode
711: * @return TransferMethod
712: */
713: public function setIntermediaryPostalCode($intermediaryPostalCode) {
714: $this->intermediaryPostalCode = $intermediaryPostalCode;
715: return $this;
716: }
717:
718: /**
719: * Get the profile type
720: *
721: * @return string
722: */
723: public function getProfileType() {
724: return $this->profileType;
725: }
726:
727: /**
728: * Set the profile type
729: *
730: * @param string $profileType
731: * @return TransferMethod
732: */
733: public function setProfileType($profileType) {
734: $this->profileType = $profileType;
735: return $this;
736: }
737:
738: /**
739: * Get the business name
740: *
741: * @return string
742: */
743: public function getBusinessName() {
744: return $this->businessName;
745: }
746:
747: /**
748: * Set the business name
749: *
750: * @param string $businessName
751: * @return TransferMethod
752: */
753: public function setBusinessName($businessName) {
754: $this->businessName = $businessName;
755: return $this;
756: }
757:
758: /**
759: * Get the business operating name
760: *
761: * @return string
762: */
763: public function getBusinessOperatingName()
764: {
765: return $this->businessOperatingName;
766: }
767:
768: /**
769: * Set the business operating name
770: *
771: * @param string $businessOperatingName
772: * @return TransferMethod
773: */
774: public function setBusinessOperatingName($businessOperatingName)
775: {
776: $this->businessOperatingName = $businessOperatingName;
777: return $this;
778: }
779:
780: /**
781: * Get the business registration id
782: *
783: * @return string
784: */
785: public function getBusinessRegistrationId() {
786: return $this->businessRegistrationId;
787: }
788:
789: /**
790: * Set the business registration id
791: *
792: * @param string $businessRegistrationId
793: * @return TransferMethod
794: */
795: public function setBusinessRegistrationId($businessRegistrationId) {
796: $this->businessRegistrationId = $businessRegistrationId;
797: return $this;
798: }
799:
800: /**
801: * Get the business registration country
802: *
803: * @return string
804: */
805: public function getBusinessRegistrationCountry() {
806: return $this->businessRegistrationCountry;
807: }
808:
809: /**
810: * Set the business registration country
811: *
812: * @param string $businessRegistrationCountry
813: * @return TransferMethod
814: */
815: public function setBusinessRegistrationCountry($businessRegistrationCountry) {
816: $this->businessRegistrationCountry = $businessRegistrationCountry;
817: return $this;
818: }
819:
820: /**
821: * Get the first name
822: *
823: * @return string
824: */
825: public function getFirstName() {
826: return $this->firstName;
827: }
828:
829: /**
830: * Set the first name
831: *
832: * @param string $firstName
833: * @return TransferMethod
834: */
835: public function setFirstName($firstName) {
836: $this->firstName = $firstName;
837: return $this;
838: }
839:
840: /**
841: * Get the middle name
842: *
843: * @return string
844: */
845: public function getMiddleName() {
846: return $this->middleName;
847: }
848:
849: /**
850: * Set the middle name
851: *
852: * @param string $middleName
853: * @return TransferMethod
854: */
855: public function setMiddleName($middleName) {
856: $this->middleName = $middleName;
857: return $this;
858: }
859:
860: /**
861: * Get the last name
862: *
863: * @return string
864: */
865: public function getLastName() {
866: return $this->lastName;
867: }
868:
869: /**
870: * Set the last name
871: *
872: * @param string $lastName
873: * @return TransferMethod
874: */
875: public function setLastName($lastName) {
876: $this->lastName = $lastName;
877: return $this;
878: }
879:
880: /**
881: * Get the date of birth
882: *
883: * @return \DateTime|null
884: */
885: public function getDateOfBirth() {
886: return $this->dateOfBirth ? new \DateTime($this->dateOfBirth) : null;
887: }
888:
889: /**
890: * Set the date of birth
891: *
892: * @param \DateTime|null $dateOfBirth
893: * @return TransferMethod
894: */
895: public function setDateOfBirth(\DateTime $dateOfBirth = null) {
896: $this->dateOfBirth = $dateOfBirth == null ? null : $dateOfBirth->format('Y-m-d');
897: return $this;
898: }
899:
900: /**
901: * Get the country of birth
902: *
903: * @return string
904: */
905: public function getCountryOfBirth() {
906: return $this->countryOfBirth;
907: }
908:
909: /**
910: * Set the country of birth
911: *
912: * @param string $countryOfBirth
913: * @return TransferMethod
914: */
915: public function setCountryOfBirth($countryOfBirth) {
916: $this->countryOfBirth = $countryOfBirth;
917: return $this;
918: }
919:
920: /**
921: * Get the country of nationality
922: *
923: * @return string
924: */
925: public function getCountryOfNationality() {
926: return $this->countryOfNationality;
927: }
928:
929: /**
930: * Set the country of nationality
931: *
932: * @param string $countryOfNationality
933: * @return TransferMethod
934: */
935: public function setCountryOfNationality($countryOfNationality) {
936: $this->countryOfNationality = $countryOfNationality;
937: return $this;
938: }
939:
940: /**
941: * Get the phone number
942: *
943: * @return string
944: */
945: public function getPhoneNumber() {
946: return $this->phoneNumber;
947: }
948:
949: /**
950: * Set the phone number
951: *
952: * @param string $phoneNumber
953: * @return TransferMethod
954: */
955: public function setPhoneNumber($phoneNumber) {
956: $this->phoneNumber = $phoneNumber;
957: return $this;
958: }
959:
960: /**
961: * Get the mobile number
962: *
963: * @return string
964: */
965: public function getMobileNumber() {
966: return $this->mobileNumber;
967: }
968:
969: /**
970: * Set the mobile number
971: *
972: * @param string $mobileNumber
973: * @return TransferMethod
974: */
975: public function setMobileNumber($mobileNumber) {
976: $this->mobileNumber = $mobileNumber;
977: return $this;
978: }
979:
980: /**
981: * Get the government id
982: *
983: * @return string
984: */
985: public function getGovernmentId() {
986: return $this->governmentId;
987: }
988:
989: /**
990: * Set the government id
991: *
992: * @param string $governmentId
993: * @return TransferMethod
994: */
995: public function setGovernmentId($governmentId) {
996: $this->governmentId = $governmentId;
997: return $this;
998: }
999:
1000: /**
1001: * Get the address line 1
1002: *
1003: * @return string
1004: */
1005: public function getAddressLine1() {
1006: return $this->addressLine1;
1007: }
1008:
1009: /**
1010: * Set the address line 1
1011: *
1012: * @param string $addressLine1
1013: * @return TransferMethod
1014: */
1015: public function setAddressLine1($addressLine1) {
1016: $this->addressLine1 = $addressLine1;
1017: return $this;
1018: }
1019:
1020: /**
1021: * Get the city
1022: *
1023: * @return string
1024: */
1025: public function getCity() {
1026: return $this->city;
1027: }
1028:
1029: /**
1030: * Set the city
1031: *
1032: * @param string $city
1033: * @return TransferMethod
1034: */
1035: public function setCity($city) {
1036: $this->city = $city;
1037: return $this;
1038: }
1039:
1040: /**
1041: * Get the state or province
1042: *
1043: * @return string
1044: */
1045: public function getStateProvince() {
1046: return $this->stateProvince;
1047: }
1048:
1049: /**
1050: * Set the state or province
1051: *
1052: * @param string $stateProvince
1053: * @return TransferMethod
1054: */
1055: public function setStateProvince($stateProvince) {
1056: $this->stateProvince = $stateProvince;
1057: return $this;
1058: }
1059:
1060: /**
1061: * Get the country
1062: *
1063: * @return string
1064: */
1065: public function getCountry() {
1066: return $this->country;
1067: }
1068:
1069: /**
1070: * Set the country
1071: *
1072: * @param string $country
1073: * @return TransferMethod
1074: */
1075: public function setCountry($country) {
1076: $this->country = $country;
1077: return $this;
1078: }
1079:
1080: /**
1081: * Get the postal code
1082: *
1083: * @return string
1084: */
1085: public function getPostalCode() {
1086: return $this->postalCode;
1087: }
1088:
1089: /**
1090: * Set the postal code
1091: *
1092: * @param string $postalCode
1093: * @return TransferMethod
1094: */
1095: public function setPostalCode($postalCode) {
1096: $this->postalCode = $postalCode;
1097: return $this;
1098: }
1099:
1100: /**
1101: * Get the is default transfer method
1102: *
1103: * @return bool
1104: */
1105: public function getIsDefaultTransferMethod() {
1106: return $this->isDefaultTransferMethod;
1107: }
1108:
1109: /**
1110: * Set the is default transfer method
1111: *
1112: * @param bool $isDefaultTransferMethod
1113: * @return TransferMethod
1114: */
1115: public function setIsDefaultTransferMethod($isDefaultTransferMethod) {
1116: $this->isDefaultTransferMethod = $isDefaultTransferMethod;
1117: return $this;
1118: }
1119: }
1120: