From 4be58f91e3bdc14825baa81c5712eadd80db80db Mon Sep 17 00:00:00 2001 From: kurund Date: Fri, 21 Feb 2014 16:26:43 +0530 Subject: [PATCH] CRM-14241, adding entities generated from xml files ---------------------------------------- * CRM-14241: setup new repo for doctrine integration work http://issues.civicrm.org/jira/browse/CRM-14241 --- Civi/ACL/ACL.php | 348 ++++ Civi/ACL/Cache.php | 152 ++ Civi/ACL/EntityRole.php | 180 ++ Civi/Activity/Activity.php | 712 ++++++++ Civi/Activity/ActivityContact.php | 152 ++ Civi/Batch/Batch.php | 516 ++++++ Civi/Batch/EntityBatch.php | 152 ++ Civi/CCase/CCase.php | 264 +++ Civi/CCase/CaseActivity.php | 124 ++ Civi/CCase/CaseContact.php | 124 ++ Civi/Campaign/Campaign.php | 516 ++++++ Civi/Campaign/CampaignGroup.php | 180 ++ Civi/Campaign/Survey.php | 600 +++++++ Civi/Case/Case.php | 264 +++ Civi/Case/CaseActivity.php | 124 ++ Civi/Case/CaseContact.php | 124 ++ Civi/Contact/ACLContactCache.php | 152 ++ Civi/Contact/Contact.php | 1496 +++++++++++++++++ Civi/Contact/ContactType.php | 264 +++ Civi/Contact/DashboardContact.php | 320 ++++ Civi/Contact/Group.php | 600 +++++++ Civi/Contact/GroupContact.php | 208 +++ Civi/Contact/GroupContactCache.php | 124 ++ Civi/Contact/GroupNesting.php | 124 ++ Civi/Contact/GroupOrganization.php | 124 ++ Civi/Contact/Relationship.php | 348 ++++ Civi/Contact/RelationshipType.php | 376 +++++ Civi/Contact/SavedSearch.php | 236 +++ Civi/Contact/SubscriptionHistory.php | 236 +++ Civi/Contribute/Contribution.php | 768 +++++++++ Civi/Contribute/ContributionPage.php | 1328 +++++++++++++++ Civi/Contribute/ContributionProduct.php | 320 ++++ Civi/Contribute/ContributionRecur.php | 796 +++++++++ Civi/Contribute/ContributionSoft.php | 320 ++++ Civi/Contribute/Premium.php | 348 ++++ Civi/Contribute/PremiumsProduct.php | 180 ++ Civi/Contribute/Product.php | 572 +++++++ Civi/Contribute/Widget.php | 516 ++++++ Civi/Core/ActionLog.php | 292 ++++ Civi/Core/ActionMapping.php | 292 ++++ Civi/Core/ActionSchedule.php | 908 +++++++++++ Civi/Core/Address.php | 852 ++++++++++ Civi/Core/AddressFormat.php | 96 ++ Civi/Core/Cache.php | 236 +++ Civi/Core/Component.php | 124 ++ Civi/Core/Country.php | 292 ++++ Civi/Core/County.php | 152 ++ Civi/Core/CustomField.php | 852 ++++++++++ Civi/Core/CustomGroup.php | 600 +++++++ Civi/Core/Dashboard.php | 432 +++++ Civi/Core/Discount.php | 208 +++ Civi/Core/Domain.php | 264 +++ Civi/Core/Email.php | 376 +++++ Civi/Core/EntityFile.php | 152 ++ Civi/Core/EntityTag.php | 152 ++ Civi/Core/Extension.php | 264 +++ Civi/Core/File.php | 236 +++ Civi/Core/IM.php | 236 +++ Civi/Core/Job.php | 320 ++++ Civi/Core/JobLog.php | 264 +++ Civi/Core/LocBlock.php | 292 ++++ Civi/Core/LocationType.php | 264 +++ Civi/Core/Log.php | 208 +++ Civi/Core/MailSettings.php | 432 +++++ Civi/Core/Managed.php | 180 ++ Civi/Core/Mapping.php | 152 ++ Civi/Core/MappingField.php | 432 +++++ Civi/Core/Menu.php | 628 +++++++ Civi/Core/MessageTemplate.php | 320 ++++ Civi/Core/Navigation.php | 348 ++++ Civi/Core/Note.php | 264 +++ Civi/Core/OpenID.php | 208 +++ Civi/Core/OptionGroup.php | 208 +++ Civi/Core/OptionValue.php | 488 ++++++ Civi/Core/Persistent.php | 180 ++ Civi/Core/Phone.php | 320 ++++ Civi/Core/PreferencesDate.php | 236 +++ Civi/Core/PrevNextCache.php | 236 +++ Civi/Core/PrintLabel.php | 348 ++++ Civi/Core/Setting.php | 320 ++++ Civi/Core/StateProvince.php | 152 ++ Civi/Core/Tag.php | 320 ++++ Civi/Core/Timezone.php | 208 +++ Civi/Core/UFField.php | 544 +++++++ Civi/Core/UFGroup.php | 684 ++++++++ Civi/Core/UFJoin.php | 264 +++ Civi/Core/UFMatch.php | 208 +++ Civi/Core/Website.php | 152 ++ Civi/Core/WordReplacement.php | 208 +++ Civi/Core/Worldregion.php | 96 ++ Civi/Dedupe/Exception.php | 124 ++ Civi/Dedupe/Rule.php | 208 +++ Civi/Dedupe/RuleGroup.php | 236 +++ Civi/Event/Cart/Cart.php | 124 ++ Civi/Event/Cart/EventInCart.php | 124 ++ Civi/Event/Event.php | 1804 +++++++++++++++++++++ Civi/Event/Participant.php | 544 +++++++ Civi/Event/ParticipantPayment.php | 124 ++ Civi/Event/ParticipantStatusType.php | 292 ++++ Civi/Financial/Currency.php | 180 ++ Civi/Financial/EntityFinancialAccount.php | 180 ++ Civi/Financial/EntityFinancialTrxn.php | 180 ++ Civi/Financial/FinancialAccount.php | 460 ++++++ Civi/Financial/FinancialItem.php | 348 ++++ Civi/Financial/FinancialTrxn.php | 432 +++++ Civi/Financial/FinancialType.php | 208 +++ Civi/Financial/PaymentProcessor.php | 600 +++++++ Civi/Financial/PaymentProcessorType.php | 656 ++++++++ Civi/Friend/Friend.php | 320 ++++ Civi/Grant/Grant.php | 460 ++++++ Civi/Mailing/BouncePattern.php | 124 ++ Civi/Mailing/BounceType.php | 152 ++ Civi/Mailing/Component.php | 264 +++ Civi/Mailing/Event/Bounce.php | 180 ++ Civi/Mailing/Event/Confirm.php | 124 ++ Civi/Mailing/Event/Delivered.php | 124 ++ Civi/Mailing/Event/Forward.php | 152 ++ Civi/Mailing/Event/Opened.php | 124 ++ Civi/Mailing/Event/Queue.php | 208 +++ Civi/Mailing/Event/Reply.php | 124 ++ Civi/Mailing/Event/Subscribe.php | 180 ++ Civi/Mailing/Event/TrackableURLOpen.php | 152 ++ Civi/Mailing/Event/Unsubscribe.php | 152 ++ Civi/Mailing/Mailing.php | 1020 ++++++++++++ Civi/Mailing/MailingGroup.php | 236 +++ Civi/Mailing/MailingJob.php | 348 ++++ Civi/Mailing/Recipients.php | 180 ++ Civi/Mailing/Spool.php | 236 +++ Civi/Mailing/TrackableURL.php | 124 ++ Civi/Member/Membership.php | 460 ++++++ Civi/Member/MembershipBlock.php | 404 +++++ Civi/Member/MembershipLog.php | 292 ++++ Civi/Member/MembershipPayment.php | 124 ++ Civi/Member/MembershipStatus.php | 460 ++++++ Civi/Member/MembershipType.php | 628 +++++++ Civi/PCP/PCP.php | 460 ++++++ Civi/PCP/PCPBlock.php | 376 +++++ Civi/Pledge/Pledge.php | 684 ++++++++ Civi/Pledge/PledgeBlock.php | 264 +++ Civi/Pledge/PledgePayment.php | 320 ++++ Civi/Price/LineItem.php | 376 +++++ Civi/Price/PriceField.php | 516 ++++++ Civi/Price/PriceFieldValue.php | 460 ++++++ Civi/Price/PriceSet.php | 376 +++++ Civi/Price/PriceSetEntity.php | 152 ++ Civi/Queue/QueueItem.php | 208 +++ Civi/Report/ReportInstance.php | 572 +++++++ Civi/SMS/Provider.php | 320 ++++ 148 files changed, 50048 insertions(+) create mode 100644 Civi/ACL/ACL.php create mode 100644 Civi/ACL/Cache.php create mode 100644 Civi/ACL/EntityRole.php create mode 100644 Civi/Activity/Activity.php create mode 100644 Civi/Activity/ActivityContact.php create mode 100644 Civi/Batch/Batch.php create mode 100644 Civi/Batch/EntityBatch.php create mode 100644 Civi/CCase/CCase.php create mode 100644 Civi/CCase/CaseActivity.php create mode 100644 Civi/CCase/CaseContact.php create mode 100644 Civi/Campaign/Campaign.php create mode 100644 Civi/Campaign/CampaignGroup.php create mode 100644 Civi/Campaign/Survey.php create mode 100644 Civi/Case/Case.php create mode 100644 Civi/Case/CaseActivity.php create mode 100644 Civi/Case/CaseContact.php create mode 100644 Civi/Contact/ACLContactCache.php create mode 100644 Civi/Contact/Contact.php create mode 100644 Civi/Contact/ContactType.php create mode 100644 Civi/Contact/DashboardContact.php create mode 100644 Civi/Contact/Group.php create mode 100644 Civi/Contact/GroupContact.php create mode 100644 Civi/Contact/GroupContactCache.php create mode 100644 Civi/Contact/GroupNesting.php create mode 100644 Civi/Contact/GroupOrganization.php create mode 100644 Civi/Contact/Relationship.php create mode 100644 Civi/Contact/RelationshipType.php create mode 100644 Civi/Contact/SavedSearch.php create mode 100644 Civi/Contact/SubscriptionHistory.php create mode 100644 Civi/Contribute/Contribution.php create mode 100644 Civi/Contribute/ContributionPage.php create mode 100644 Civi/Contribute/ContributionProduct.php create mode 100644 Civi/Contribute/ContributionRecur.php create mode 100644 Civi/Contribute/ContributionSoft.php create mode 100644 Civi/Contribute/Premium.php create mode 100644 Civi/Contribute/PremiumsProduct.php create mode 100644 Civi/Contribute/Product.php create mode 100644 Civi/Contribute/Widget.php create mode 100644 Civi/Core/ActionLog.php create mode 100644 Civi/Core/ActionMapping.php create mode 100644 Civi/Core/ActionSchedule.php create mode 100644 Civi/Core/Address.php create mode 100644 Civi/Core/AddressFormat.php create mode 100644 Civi/Core/Cache.php create mode 100644 Civi/Core/Component.php create mode 100644 Civi/Core/Country.php create mode 100644 Civi/Core/County.php create mode 100644 Civi/Core/CustomField.php create mode 100644 Civi/Core/CustomGroup.php create mode 100644 Civi/Core/Dashboard.php create mode 100644 Civi/Core/Discount.php create mode 100644 Civi/Core/Domain.php create mode 100644 Civi/Core/Email.php create mode 100644 Civi/Core/EntityFile.php create mode 100644 Civi/Core/EntityTag.php create mode 100644 Civi/Core/Extension.php create mode 100644 Civi/Core/File.php create mode 100644 Civi/Core/IM.php create mode 100644 Civi/Core/Job.php create mode 100644 Civi/Core/JobLog.php create mode 100644 Civi/Core/LocBlock.php create mode 100644 Civi/Core/LocationType.php create mode 100644 Civi/Core/Log.php create mode 100644 Civi/Core/MailSettings.php create mode 100644 Civi/Core/Managed.php create mode 100644 Civi/Core/Mapping.php create mode 100644 Civi/Core/MappingField.php create mode 100644 Civi/Core/Menu.php create mode 100644 Civi/Core/MessageTemplate.php create mode 100644 Civi/Core/Navigation.php create mode 100644 Civi/Core/Note.php create mode 100644 Civi/Core/OpenID.php create mode 100644 Civi/Core/OptionGroup.php create mode 100644 Civi/Core/OptionValue.php create mode 100644 Civi/Core/Persistent.php create mode 100644 Civi/Core/Phone.php create mode 100644 Civi/Core/PreferencesDate.php create mode 100644 Civi/Core/PrevNextCache.php create mode 100644 Civi/Core/PrintLabel.php create mode 100644 Civi/Core/Setting.php create mode 100644 Civi/Core/StateProvince.php create mode 100644 Civi/Core/Tag.php create mode 100644 Civi/Core/Timezone.php create mode 100644 Civi/Core/UFField.php create mode 100644 Civi/Core/UFGroup.php create mode 100644 Civi/Core/UFJoin.php create mode 100644 Civi/Core/UFMatch.php create mode 100644 Civi/Core/Website.php create mode 100644 Civi/Core/WordReplacement.php create mode 100644 Civi/Core/Worldregion.php create mode 100644 Civi/Dedupe/Exception.php create mode 100644 Civi/Dedupe/Rule.php create mode 100644 Civi/Dedupe/RuleGroup.php create mode 100644 Civi/Event/Cart/Cart.php create mode 100644 Civi/Event/Cart/EventInCart.php create mode 100644 Civi/Event/Event.php create mode 100644 Civi/Event/Participant.php create mode 100644 Civi/Event/ParticipantPayment.php create mode 100644 Civi/Event/ParticipantStatusType.php create mode 100644 Civi/Financial/Currency.php create mode 100644 Civi/Financial/EntityFinancialAccount.php create mode 100644 Civi/Financial/EntityFinancialTrxn.php create mode 100644 Civi/Financial/FinancialAccount.php create mode 100644 Civi/Financial/FinancialItem.php create mode 100644 Civi/Financial/FinancialTrxn.php create mode 100644 Civi/Financial/FinancialType.php create mode 100644 Civi/Financial/PaymentProcessor.php create mode 100644 Civi/Financial/PaymentProcessorType.php create mode 100644 Civi/Friend/Friend.php create mode 100644 Civi/Grant/Grant.php create mode 100644 Civi/Mailing/BouncePattern.php create mode 100644 Civi/Mailing/BounceType.php create mode 100644 Civi/Mailing/Component.php create mode 100644 Civi/Mailing/Event/Bounce.php create mode 100644 Civi/Mailing/Event/Confirm.php create mode 100644 Civi/Mailing/Event/Delivered.php create mode 100644 Civi/Mailing/Event/Forward.php create mode 100644 Civi/Mailing/Event/Opened.php create mode 100644 Civi/Mailing/Event/Queue.php create mode 100644 Civi/Mailing/Event/Reply.php create mode 100644 Civi/Mailing/Event/Subscribe.php create mode 100644 Civi/Mailing/Event/TrackableURLOpen.php create mode 100644 Civi/Mailing/Event/Unsubscribe.php create mode 100644 Civi/Mailing/Mailing.php create mode 100644 Civi/Mailing/MailingGroup.php create mode 100644 Civi/Mailing/MailingJob.php create mode 100644 Civi/Mailing/Recipients.php create mode 100644 Civi/Mailing/Spool.php create mode 100644 Civi/Mailing/TrackableURL.php create mode 100644 Civi/Member/Membership.php create mode 100644 Civi/Member/MembershipBlock.php create mode 100644 Civi/Member/MembershipLog.php create mode 100644 Civi/Member/MembershipPayment.php create mode 100644 Civi/Member/MembershipStatus.php create mode 100644 Civi/Member/MembershipType.php create mode 100644 Civi/PCP/PCP.php create mode 100644 Civi/PCP/PCPBlock.php create mode 100644 Civi/Pledge/Pledge.php create mode 100644 Civi/Pledge/PledgeBlock.php create mode 100644 Civi/Pledge/PledgePayment.php create mode 100644 Civi/Price/LineItem.php create mode 100644 Civi/Price/PriceField.php create mode 100644 Civi/Price/PriceFieldValue.php create mode 100644 Civi/Price/PriceSet.php create mode 100644 Civi/Price/PriceSetEntity.php create mode 100644 Civi/Queue/QueueItem.php create mode 100644 Civi/Report/ReportInstance.php create mode 100644 Civi/SMS/Provider.php diff --git a/Civi/ACL/ACL.php b/Civi/ACL/ACL.php new file mode 100644 index 0000000000..0ad4a95efe --- /dev/null +++ b/Civi/ACL/ACL.php @@ -0,0 +1,348 @@ +id; + } + + /** + * Set name + * + * @param string $name + * @return ACL + */ + public function setName($name) { + $this->name = $name; + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() { + return $this->name; + } + + /** + * Set deny + * + * @param boolean $deny + * @return ACL + */ + public function setDeny($deny) { + $this->deny = $deny; + return $this; + } + + /** + * Get deny + * + * @return boolean + */ + public function getDeny() { + return $this->deny; + } + + /** + * Set entityTable + * + * @param string $entityTable + * @return ACL + */ + public function setEntityTable($entityTable) { + $this->entityTable = $entityTable; + return $this; + } + + /** + * Get entityTable + * + * @return string + */ + public function getEntityTable() { + return $this->entityTable; + } + + /** + * Set entityId + * + * @param integer $entityId + * @return ACL + */ + public function setEntityId($entityId) { + $this->entityId = $entityId; + return $this; + } + + /** + * Get entityId + * + * @return integer + */ + public function getEntityId() { + return $this->entityId; + } + + /** + * Set operation + * + * @param string $operation + * @return ACL + */ + public function setOperation($operation) { + $this->operation = $operation; + return $this; + } + + /** + * Get operation + * + * @return string + */ + public function getOperation() { + return $this->operation; + } + + /** + * Set objectTable + * + * @param string $objectTable + * @return ACL + */ + public function setObjectTable($objectTable) { + $this->objectTable = $objectTable; + return $this; + } + + /** + * Get objectTable + * + * @return string + */ + public function getObjectTable() { + return $this->objectTable; + } + + /** + * Set objectId + * + * @param integer $objectId + * @return ACL + */ + public function setObjectId($objectId) { + $this->objectId = $objectId; + return $this; + } + + /** + * Get objectId + * + * @return integer + */ + public function getObjectId() { + return $this->objectId; + } + + /** + * Set aclTable + * + * @param string $aclTable + * @return ACL + */ + public function setAclTable($aclTable) { + $this->aclTable = $aclTable; + return $this; + } + + /** + * Get aclTable + * + * @return string + */ + public function getAclTable() { + return $this->aclTable; + } + + /** + * Set aclId + * + * @param integer $aclId + * @return ACL + */ + public function setAclId($aclId) { + $this->aclId = $aclId; + return $this; + } + + /** + * Get aclId + * + * @return integer + */ + public function getAclId() { + return $this->aclId; + } + + /** + * Set isActive + * + * @param boolean $isActive + * @return ACL + */ + public function setIsActive($isActive) { + $this->isActive = $isActive; + return $this; + } + + /** + * Get isActive + * + * @return boolean + */ + public function getIsActive() { + return $this->isActive; + } + +} + diff --git a/Civi/ACL/Cache.php b/Civi/ACL/Cache.php new file mode 100644 index 0000000000..f879683704 --- /dev/null +++ b/Civi/ACL/Cache.php @@ -0,0 +1,152 @@ +id; + } + + /** + * Set contact + * + * @param \Civi\Contact\Contact $contact + * @return Cache + */ + public function setContact(\Civi\Contact\Contact $contact = null) { + $this->contact = $contact; + return $this; + } + + /** + * Get contact + * + * @return \Civi\Contact\Contact + */ + public function getContact() { + return $this->contact; + } + + /** + * Set acl + * + * @param \Civi\ACL\ACL $acl + * @return Cache + */ + public function setAcl(\Civi\ACL\ACL $acl = null) { + $this->acl = $acl; + return $this; + } + + /** + * Get acl + * + * @return \Civi\ACL\ACL + */ + public function getAcl() { + return $this->acl; + } + + /** + * Set modifiedDate + * + * @param date $modifiedDate + * @return Cache + */ + public function setModifiedDate($modifiedDate) { + $this->modifiedDate = $modifiedDate; + return $this; + } + + /** + * Get modifiedDate + * + * @return date + */ + public function getModifiedDate() { + return $this->modifiedDate; + } + +} + diff --git a/Civi/ACL/EntityRole.php b/Civi/ACL/EntityRole.php new file mode 100644 index 0000000000..87dd0b1602 --- /dev/null +++ b/Civi/ACL/EntityRole.php @@ -0,0 +1,180 @@ +id; + } + + /** + * Set aclRoleId + * + * @param integer $aclRoleId + * @return EntityRole + */ + public function setAclRoleId($aclRoleId) { + $this->aclRoleId = $aclRoleId; + return $this; + } + + /** + * Get aclRoleId + * + * @return integer + */ + public function getAclRoleId() { + return $this->aclRoleId; + } + + /** + * Set entityTable + * + * @param string $entityTable + * @return EntityRole + */ + public function setEntityTable($entityTable) { + $this->entityTable = $entityTable; + return $this; + } + + /** + * Get entityTable + * + * @return string + */ + public function getEntityTable() { + return $this->entityTable; + } + + /** + * Set entityId + * + * @param integer $entityId + * @return EntityRole + */ + public function setEntityId($entityId) { + $this->entityId = $entityId; + return $this; + } + + /** + * Get entityId + * + * @return integer + */ + public function getEntityId() { + return $this->entityId; + } + + /** + * Set isActive + * + * @param boolean $isActive + * @return EntityRole + */ + public function setIsActive($isActive) { + $this->isActive = $isActive; + return $this; + } + + /** + * Get isActive + * + * @return boolean + */ + public function getIsActive() { + return $this->isActive; + } + +} + diff --git a/Civi/Activity/Activity.php b/Civi/Activity/Activity.php new file mode 100644 index 0000000000..d0cc267a9d --- /dev/null +++ b/Civi/Activity/Activity.php @@ -0,0 +1,712 @@ +id; + } + + /** + * Set sourceRecordId + * + * @param integer $sourceRecordId + * @return Activity + */ + public function setSourceRecordId($sourceRecordId) { + $this->sourceRecordId = $sourceRecordId; + return $this; + } + + /** + * Get sourceRecordId + * + * @return integer + */ + public function getSourceRecordId() { + return $this->sourceRecordId; + } + + /** + * Set activityTypeId + * + * @param integer $activityTypeId + * @return Activity + */ + public function setActivityTypeId($activityTypeId) { + $this->activityTypeId = $activityTypeId; + return $this; + } + + /** + * Get activityTypeId + * + * @return integer + */ + public function getActivityTypeId() { + return $this->activityTypeId; + } + + /** + * Set subject + * + * @param string $subject + * @return Activity + */ + public function setSubject($subject) { + $this->subject = $subject; + return $this; + } + + /** + * Get subject + * + * @return string + */ + public function getSubject() { + return $this->subject; + } + + /** + * Set activityDateTime + * + * @param datetime $activityDateTime + * @return Activity + */ + public function setActivityDateTime($activityDateTime) { + $this->activityDateTime = $activityDateTime; + return $this; + } + + /** + * Get activityDateTime + * + * @return datetime + */ + public function getActivityDateTime() { + return $this->activityDateTime; + } + + /** + * Set duration + * + * @param integer $duration + * @return Activity + */ + public function setDuration($duration) { + $this->duration = $duration; + return $this; + } + + /** + * Get duration + * + * @return integer + */ + public function getDuration() { + return $this->duration; + } + + /** + * Set location + * + * @param string $location + * @return Activity + */ + public function setLocation($location) { + $this->location = $location; + return $this; + } + + /** + * Get location + * + * @return string + */ + public function getLocation() { + return $this->location; + } + + /** + * Set phone + * + * @param \Civi\Core\Phone $phone + * @return Activity + */ + public function setPhone(\Civi\Core\Phone $phone = null) { + $this->phone = $phone; + return $this; + } + + /** + * Get phone + * + * @return \Civi\Core\Phone + */ + public function getPhone() { + return $this->phone; + } + + /** + * Set phoneNumber + * + * @param string $phoneNumber + * @return Activity + */ + public function setPhoneNumber($phoneNumber) { + $this->phoneNumber = $phoneNumber; + return $this; + } + + /** + * Get phoneNumber + * + * @return string + */ + public function getPhoneNumber() { + return $this->phoneNumber; + } + + /** + * Set details + * + * @param text $details + * @return Activity + */ + public function setDetails($details) { + $this->details = $details; + return $this; + } + + /** + * Get details + * + * @return text + */ + public function getDetails() { + return $this->details; + } + + /** + * Set statusId + * + * @param integer $statusId + * @return Activity + */ + public function setStatusId($statusId) { + $this->statusId = $statusId; + return $this; + } + + /** + * Get statusId + * + * @return integer + */ + public function getStatusId() { + return $this->statusId; + } + + /** + * Set priorityId + * + * @param integer $priorityId + * @return Activity + */ + public function setPriorityId($priorityId) { + $this->priorityId = $priorityId; + return $this; + } + + /** + * Get priorityId + * + * @return integer + */ + public function getPriorityId() { + return $this->priorityId; + } + + /** + * Set parent + * + * @param \Civi\Activity\Activity $parent + * @return Activity + */ + public function setParent(\Civi\Activity\Activity $parent = null) { + $this->parent = $parent; + return $this; + } + + /** + * Get parent + * + * @return \Civi\Activity\Activity + */ + public function getParent() { + return $this->parent; + } + + /** + * Set isTest + * + * @param boolean $isTest + * @return Activity + */ + public function setIsTest($isTest) { + $this->isTest = $isTest; + return $this; + } + + /** + * Get isTest + * + * @return boolean + */ + public function getIsTest() { + return $this->isTest; + } + + /** + * Set mediumId + * + * @param integer $mediumId + * @return Activity + */ + public function setMediumId($mediumId) { + $this->mediumId = $mediumId; + return $this; + } + + /** + * Get mediumId + * + * @return integer + */ + public function getMediumId() { + return $this->mediumId; + } + + /** + * Set isAuto + * + * @param boolean $isAuto + * @return Activity + */ + public function setIsAuto($isAuto) { + $this->isAuto = $isAuto; + return $this; + } + + /** + * Get isAuto + * + * @return boolean + */ + public function getIsAuto() { + return $this->isAuto; + } + + /** + * Set relationship + * + * @param \Civi\Contact\Relationship $relationship + * @return Activity + */ + public function setRelationship(\Civi\Contact\Relationship $relationship = null) { + $this->relationship = $relationship; + return $this; + } + + /** + * Get relationship + * + * @return \Civi\Contact\Relationship + */ + public function getRelationship() { + return $this->relationship; + } + + /** + * Set isCurrentRevision + * + * @param boolean $isCurrentRevision + * @return Activity + */ + public function setIsCurrentRevision($isCurrentRevision) { + $this->isCurrentRevision = $isCurrentRevision; + return $this; + } + + /** + * Get isCurrentRevision + * + * @return boolean + */ + public function getIsCurrentRevision() { + return $this->isCurrentRevision; + } + + /** + * Set original + * + * @param \Civi\Activity\Activity $original + * @return Activity + */ + public function setOriginal(\Civi\Activity\Activity $original = null) { + $this->original = $original; + return $this; + } + + /** + * Get original + * + * @return \Civi\Activity\Activity + */ + public function getOriginal() { + return $this->original; + } + + /** + * Set result + * + * @param string $result + * @return Activity + */ + public function setResult($result) { + $this->result = $result; + return $this; + } + + /** + * Get result + * + * @return string + */ + public function getResult() { + return $this->result; + } + + /** + * Set isDeleted + * + * @param boolean $isDeleted + * @return Activity + */ + public function setIsDeleted($isDeleted) { + $this->isDeleted = $isDeleted; + return $this; + } + + /** + * Get isDeleted + * + * @return boolean + */ + public function getIsDeleted() { + return $this->isDeleted; + } + + /** + * Set campaign + * + * @param \Civi\Campaign\Campaign $campaign + * @return Activity + */ + public function setCampaign(\Civi\Campaign\Campaign $campaign = null) { + $this->campaign = $campaign; + return $this; + } + + /** + * Get campaign + * + * @return \Civi\Campaign\Campaign + */ + public function getCampaign() { + return $this->campaign; + } + + /** + * Set engagementLevel + * + * @param integer $engagementLevel + * @return Activity + */ + public function setEngagementLevel($engagementLevel) { + $this->engagementLevel = $engagementLevel; + return $this; + } + + /** + * Get engagementLevel + * + * @return integer + */ + public function getEngagementLevel() { + return $this->engagementLevel; + } + + /** + * Set weight + * + * @param int $weight + * @return Activity + */ + public function setWeight($weight) { + $this->weight = $weight; + return $this; + } + + /** + * Get weight + * + * @return int + */ + public function getWeight() { + return $this->weight; + } + +} + diff --git a/Civi/Activity/ActivityContact.php b/Civi/Activity/ActivityContact.php new file mode 100644 index 0000000000..6af02283f5 --- /dev/null +++ b/Civi/Activity/ActivityContact.php @@ -0,0 +1,152 @@ +id; + } + + /** + * Set activity + * + * @param \Civi\Activity\Activity $activity + * @return ActivityContact + */ + public function setActivity(\Civi\Activity\Activity $activity = null) { + $this->activity = $activity; + return $this; + } + + /** + * Get activity + * + * @return \Civi\Activity\Activity + */ + public function getActivity() { + return $this->activity; + } + + /** + * Set contact + * + * @param \Civi\Contact\Contact $contact + * @return ActivityContact + */ + public function setContact(\Civi\Contact\Contact $contact = null) { + $this->contact = $contact; + return $this; + } + + /** + * Get contact + * + * @return \Civi\Contact\Contact + */ + public function getContact() { + return $this->contact; + } + + /** + * Set recordTypeId + * + * @param integer $recordTypeId + * @return ActivityContact + */ + public function setRecordTypeId($recordTypeId) { + $this->recordTypeId = $recordTypeId; + return $this; + } + + /** + * Get recordTypeId + * + * @return integer + */ + public function getRecordTypeId() { + return $this->recordTypeId; + } + +} + diff --git a/Civi/Batch/Batch.php b/Civi/Batch/Batch.php new file mode 100644 index 0000000000..3f3d903702 --- /dev/null +++ b/Civi/Batch/Batch.php @@ -0,0 +1,516 @@ +id; + } + + /** + * Set name + * + * @param string $name + * @return Batch + */ + public function setName($name) { + $this->name = $name; + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() { + return $this->name; + } + + /** + * Set title + * + * @param string $title + * @return Batch + */ + public function setTitle($title) { + $this->title = $title; + return $this; + } + + /** + * Get title + * + * @return string + */ + public function getTitle() { + return $this->title; + } + + /** + * Set description + * + * @param text $description + * @return Batch + */ + public function setDescription($description) { + $this->description = $description; + return $this; + } + + /** + * Get description + * + * @return text + */ + public function getDescription() { + return $this->description; + } + + /** + * Set created + * + * @param \Civi\Contact\Contact $created + * @return Batch + */ + public function setCreated(\Civi\Contact\Contact $created = null) { + $this->created = $created; + return $this; + } + + /** + * Get created + * + * @return \Civi\Contact\Contact + */ + public function getCreated() { + return $this->created; + } + + /** + * Set createdDate + * + * @param datetime $createdDate + * @return Batch + */ + public function setCreatedDate($createdDate) { + $this->createdDate = $createdDate; + return $this; + } + + /** + * Get createdDate + * + * @return datetime + */ + public function getCreatedDate() { + return $this->createdDate; + } + + /** + * Set modified + * + * @param \Civi\Contact\Contact $modified + * @return Batch + */ + public function setModified(\Civi\Contact\Contact $modified = null) { + $this->modified = $modified; + return $this; + } + + /** + * Get modified + * + * @return \Civi\Contact\Contact + */ + public function getModified() { + return $this->modified; + } + + /** + * Set modifiedDate + * + * @param datetime $modifiedDate + * @return Batch + */ + public function setModifiedDate($modifiedDate) { + $this->modifiedDate = $modifiedDate; + return $this; + } + + /** + * Get modifiedDate + * + * @return datetime + */ + public function getModifiedDate() { + return $this->modifiedDate; + } + + /** + * Set savedSearch + * + * @param \Civi\Contact\SavedSearch $savedSearch + * @return Batch + */ + public function setSavedSearch(\Civi\Contact\SavedSearch $savedSearch = null) { + $this->savedSearch = $savedSearch; + return $this; + } + + /** + * Get savedSearch + * + * @return \Civi\Contact\SavedSearch + */ + public function getSavedSearch() { + return $this->savedSearch; + } + + /** + * Set statusId + * + * @param integer $statusId + * @return Batch + */ + public function setStatusId($statusId) { + $this->statusId = $statusId; + return $this; + } + + /** + * Get statusId + * + * @return integer + */ + public function getStatusId() { + return $this->statusId; + } + + /** + * Set typeId + * + * @param integer $typeId + * @return Batch + */ + public function setTypeId($typeId) { + $this->typeId = $typeId; + return $this; + } + + /** + * Get typeId + * + * @return integer + */ + public function getTypeId() { + return $this->typeId; + } + + /** + * Set modeId + * + * @param integer $modeId + * @return Batch + */ + public function setModeId($modeId) { + $this->modeId = $modeId; + return $this; + } + + /** + * Get modeId + * + * @return integer + */ + public function getModeId() { + return $this->modeId; + } + + /** + * Set total + * + * @param float $total + * @return Batch + */ + public function setTotal($total) { + $this->total = $total; + return $this; + } + + /** + * Get total + * + * @return float + */ + public function getTotal() { + return $this->total; + } + + /** + * Set itemCount + * + * @param integer $itemCount + * @return Batch + */ + public function setItemCount($itemCount) { + $this->itemCount = $itemCount; + return $this; + } + + /** + * Get itemCount + * + * @return integer + */ + public function getItemCount() { + return $this->itemCount; + } + + /** + * Set paymentInstrumentId + * + * @param integer $paymentInstrumentId + * @return Batch + */ + public function setPaymentInstrumentId($paymentInstrumentId) { + $this->paymentInstrumentId = $paymentInstrumentId; + return $this; + } + + /** + * Get paymentInstrumentId + * + * @return integer + */ + public function getPaymentInstrumentId() { + return $this->paymentInstrumentId; + } + + /** + * Set exportedDate + * + * @param datetime $exportedDate + * @return Batch + */ + public function setExportedDate($exportedDate) { + $this->exportedDate = $exportedDate; + return $this; + } + + /** + * Get exportedDate + * + * @return datetime + */ + public function getExportedDate() { + return $this->exportedDate; + } + + /** + * Set data + * + * @param longtext $data + * @return Batch + */ + public function setData($data) { + $this->data = $data; + return $this; + } + + /** + * Get data + * + * @return longtext + */ + public function getData() { + return $this->data; + } + +} + diff --git a/Civi/Batch/EntityBatch.php b/Civi/Batch/EntityBatch.php new file mode 100644 index 0000000000..39168254e8 --- /dev/null +++ b/Civi/Batch/EntityBatch.php @@ -0,0 +1,152 @@ +id; + } + + /** + * Set entityTable + * + * @param string $entityTable + * @return EntityBatch + */ + public function setEntityTable($entityTable) { + $this->entityTable = $entityTable; + return $this; + } + + /** + * Get entityTable + * + * @return string + */ + public function getEntityTable() { + return $this->entityTable; + } + + /** + * Set entityId + * + * @param integer $entityId + * @return EntityBatch + */ + public function setEntityId($entityId) { + $this->entityId = $entityId; + return $this; + } + + /** + * Get entityId + * + * @return integer + */ + public function getEntityId() { + return $this->entityId; + } + + /** + * Set batch + * + * @param \Civi\Batch\Batch $batch + * @return EntityBatch + */ + public function setBatch(\Civi\Batch\Batch $batch = null) { + $this->batch = $batch; + return $this; + } + + /** + * Get batch + * + * @return \Civi\Batch\Batch + */ + public function getBatch() { + return $this->batch; + } + +} + diff --git a/Civi/CCase/CCase.php b/Civi/CCase/CCase.php new file mode 100644 index 0000000000..6627d6e882 --- /dev/null +++ b/Civi/CCase/CCase.php @@ -0,0 +1,264 @@ +id; + } + + /** + * Set caseTypeId + * + * @param string $caseTypeId + * @return Case + */ + public function setCaseTypeId($caseTypeId) { + $this->caseTypeId = $caseTypeId; + return $this; + } + + /** + * Get caseTypeId + * + * @return string + */ + public function getCaseTypeId() { + return $this->caseTypeId; + } + + /** + * Set subject + * + * @param string $subject + * @return Case + */ + public function setSubject($subject) { + $this->subject = $subject; + return $this; + } + + /** + * Get subject + * + * @return string + */ + public function getSubject() { + return $this->subject; + } + + /** + * Set startDate + * + * @param date $startDate + * @return Case + */ + public function setStartDate($startDate) { + $this->startDate = $startDate; + return $this; + } + + /** + * Get startDate + * + * @return date + */ + public function getStartDate() { + return $this->startDate; + } + + /** + * Set endDate + * + * @param date $endDate + * @return Case + */ + public function setEndDate($endDate) { + $this->endDate = $endDate; + return $this; + } + + /** + * Get endDate + * + * @return date + */ + public function getEndDate() { + return $this->endDate; + } + + /** + * Set details + * + * @param text $details + * @return Case + */ + public function setDetails($details) { + $this->details = $details; + return $this; + } + + /** + * Get details + * + * @return text + */ + public function getDetails() { + return $this->details; + } + + /** + * Set statusId + * + * @param integer $statusId + * @return Case + */ + public function setStatusId($statusId) { + $this->statusId = $statusId; + return $this; + } + + /** + * Get statusId + * + * @return integer + */ + public function getStatusId() { + return $this->statusId; + } + + /** + * Set isDeleted + * + * @param boolean $isDeleted + * @return Case + */ + public function setIsDeleted($isDeleted) { + $this->isDeleted = $isDeleted; + return $this; + } + + /** + * Get isDeleted + * + * @return boolean + */ + public function getIsDeleted() { + return $this->isDeleted; + } + +} + diff --git a/Civi/CCase/CaseActivity.php b/Civi/CCase/CaseActivity.php new file mode 100644 index 0000000000..04482bb134 --- /dev/null +++ b/Civi/CCase/CaseActivity.php @@ -0,0 +1,124 @@ +id; + } + + /** + * Set case + * + * @param \Civi\CCase\CCase $case + * @return CaseActivity + */ + public function setCase(\Civi\CCase\CCase $case = null) { + $this->case = $case; + return $this; + } + + /** + * Get case + * + * @return \Civi\CCase\CCase + */ + public function getCase() { + return $this->case; + } + + /** + * Set activity + * + * @param \Civi\Activity\Activity $activity + * @return CaseActivity + */ + public function setActivity(\Civi\Activity\Activity $activity = null) { + $this->activity = $activity; + return $this; + } + + /** + * Get activity + * + * @return \Civi\Activity\Activity + */ + public function getActivity() { + return $this->activity; + } + +} + diff --git a/Civi/CCase/CaseContact.php b/Civi/CCase/CaseContact.php new file mode 100644 index 0000000000..1dfd79e19a --- /dev/null +++ b/Civi/CCase/CaseContact.php @@ -0,0 +1,124 @@ +id; + } + + /** + * Set case + * + * @param \Civi\CCase\CCase $case + * @return CaseContact + */ + public function setCase(\Civi\CCase\CCase $case = null) { + $this->case = $case; + return $this; + } + + /** + * Get case + * + * @return \Civi\CCase\CCase + */ + public function getCase() { + return $this->case; + } + + /** + * Set contact + * + * @param \Civi\Contact\Contact $contact + * @return CaseContact + */ + public function setContact(\Civi\Contact\Contact $contact = null) { + $this->contact = $contact; + return $this; + } + + /** + * Get contact + * + * @return \Civi\Contact\Contact + */ + public function getContact() { + return $this->contact; + } + +} + diff --git a/Civi/Campaign/Campaign.php b/Civi/Campaign/Campaign.php new file mode 100644 index 0000000000..4350b4ce71 --- /dev/null +++ b/Civi/Campaign/Campaign.php @@ -0,0 +1,516 @@ +id; + } + + /** + * Set name + * + * @param string $name + * @return Campaign + */ + public function setName($name) { + $this->name = $name; + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() { + return $this->name; + } + + /** + * Set title + * + * @param string $title + * @return Campaign + */ + public function setTitle($title) { + $this->title = $title; + return $this; + } + + /** + * Get title + * + * @return string + */ + public function getTitle() { + return $this->title; + } + + /** + * Set description + * + * @param text $description + * @return Campaign + */ + public function setDescription($description) { + $this->description = $description; + return $this; + } + + /** + * Get description + * + * @return text + */ + public function getDescription() { + return $this->description; + } + + /** + * Set startDate + * + * @param datetime $startDate + * @return Campaign + */ + public function setStartDate($startDate) { + $this->startDate = $startDate; + return $this; + } + + /** + * Get startDate + * + * @return datetime + */ + public function getStartDate() { + return $this->startDate; + } + + /** + * Set endDate + * + * @param datetime $endDate + * @return Campaign + */ + public function setEndDate($endDate) { + $this->endDate = $endDate; + return $this; + } + + /** + * Get endDate + * + * @return datetime + */ + public function getEndDate() { + return $this->endDate; + } + + /** + * Set campaignTypeId + * + * @param integer $campaignTypeId + * @return Campaign + */ + public function setCampaignTypeId($campaignTypeId) { + $this->campaignTypeId = $campaignTypeId; + return $this; + } + + /** + * Get campaignTypeId + * + * @return integer + */ + public function getCampaignTypeId() { + return $this->campaignTypeId; + } + + /** + * Set statusId + * + * @param integer $statusId + * @return Campaign + */ + public function setStatusId($statusId) { + $this->statusId = $statusId; + return $this; + } + + /** + * Get statusId + * + * @return integer + */ + public function getStatusId() { + return $this->statusId; + } + + /** + * Set externalIdentifier + * + * @param string $externalIdentifier + * @return Campaign + */ + public function setExternalIdentifier($externalIdentifier) { + $this->externalIdentifier = $externalIdentifier; + return $this; + } + + /** + * Get externalIdentifier + * + * @return string + */ + public function getExternalIdentifier() { + return $this->externalIdentifier; + } + + /** + * Set parent + * + * @param \Civi\Campaign\Campaign $parent + * @return Campaign + */ + public function setParent(\Civi\Campaign\Campaign $parent = null) { + $this->parent = $parent; + return $this; + } + + /** + * Get parent + * + * @return \Civi\Campaign\Campaign + */ + public function getParent() { + return $this->parent; + } + + /** + * Set isActive + * + * @param boolean $isActive + * @return Campaign + */ + public function setIsActive($isActive) { + $this->isActive = $isActive; + return $this; + } + + /** + * Get isActive + * + * @return boolean + */ + public function getIsActive() { + return $this->isActive; + } + + /** + * Set created + * + * @param \Civi\Contact\Contact $created + * @return Campaign + */ + public function setCreated(\Civi\Contact\Contact $created = null) { + $this->created = $created; + return $this; + } + + /** + * Get created + * + * @return \Civi\Contact\Contact + */ + public function getCreated() { + return $this->created; + } + + /** + * Set createdDate + * + * @param datetime $createdDate + * @return Campaign + */ + public function setCreatedDate($createdDate) { + $this->createdDate = $createdDate; + return $this; + } + + /** + * Get createdDate + * + * @return datetime + */ + public function getCreatedDate() { + return $this->createdDate; + } + + /** + * Set lastModified + * + * @param \Civi\Contact\Contact $lastModified + * @return Campaign + */ + public function setLastModified(\Civi\Contact\Contact $lastModified = null) { + $this->lastModified = $lastModified; + return $this; + } + + /** + * Get lastModified + * + * @return \Civi\Contact\Contact + */ + public function getLastModified() { + return $this->lastModified; + } + + /** + * Set lastModifiedDate + * + * @param datetime $lastModifiedDate + * @return Campaign + */ + public function setLastModifiedDate($lastModifiedDate) { + $this->lastModifiedDate = $lastModifiedDate; + return $this; + } + + /** + * Get lastModifiedDate + * + * @return datetime + */ + public function getLastModifiedDate() { + return $this->lastModifiedDate; + } + + /** + * Set goalGeneral + * + * @param text $goalGeneral + * @return Campaign + */ + public function setGoalGeneral($goalGeneral) { + $this->goalGeneral = $goalGeneral; + return $this; + } + + /** + * Get goalGeneral + * + * @return text + */ + public function getGoalGeneral() { + return $this->goalGeneral; + } + + /** + * Set goalRevenue + * + * @param float $goalRevenue + * @return Campaign + */ + public function setGoalRevenue($goalRevenue) { + $this->goalRevenue = $goalRevenue; + return $this; + } + + /** + * Get goalRevenue + * + * @return float + */ + public function getGoalRevenue() { + return $this->goalRevenue; + } + +} + diff --git a/Civi/Campaign/CampaignGroup.php b/Civi/Campaign/CampaignGroup.php new file mode 100644 index 0000000000..352f600e10 --- /dev/null +++ b/Civi/Campaign/CampaignGroup.php @@ -0,0 +1,180 @@ +id; + } + + /** + * Set campaign + * + * @param \Civi\Campaign\Campaign $campaign + * @return CampaignGroup + */ + public function setCampaign(\Civi\Campaign\Campaign $campaign = null) { + $this->campaign = $campaign; + return $this; + } + + /** + * Get campaign + * + * @return \Civi\Campaign\Campaign + */ + public function getCampaign() { + return $this->campaign; + } + + /** + * Set groupType + * + * @param string $groupType + * @return CampaignGroup + */ + public function setGroupType($groupType) { + $this->groupType = $groupType; + return $this; + } + + /** + * Get groupType + * + * @return string + */ + public function getGroupType() { + return $this->groupType; + } + + /** + * Set entityTable + * + * @param string $entityTable + * @return CampaignGroup + */ + public function setEntityTable($entityTable) { + $this->entityTable = $entityTable; + return $this; + } + + /** + * Get entityTable + * + * @return string + */ + public function getEntityTable() { + return $this->entityTable; + } + + /** + * Set entityId + * + * @param integer $entityId + * @return CampaignGroup + */ + public function setEntityId($entityId) { + $this->entityId = $entityId; + return $this; + } + + /** + * Get entityId + * + * @return integer + */ + public function getEntityId() { + return $this->entityId; + } + +} + diff --git a/Civi/Campaign/Survey.php b/Civi/Campaign/Survey.php new file mode 100644 index 0000000000..123b731d5d --- /dev/null +++ b/Civi/Campaign/Survey.php @@ -0,0 +1,600 @@ +id; + } + + /** + * Set title + * + * @param string $title + * @return Survey + */ + public function setTitle($title) { + $this->title = $title; + return $this; + } + + /** + * Get title + * + * @return string + */ + public function getTitle() { + return $this->title; + } + + /** + * Set campaign + * + * @param \Civi\Campaign\Campaign $campaign + * @return Survey + */ + public function setCampaign(\Civi\Campaign\Campaign $campaign = null) { + $this->campaign = $campaign; + return $this; + } + + /** + * Get campaign + * + * @return \Civi\Campaign\Campaign + */ + public function getCampaign() { + return $this->campaign; + } + + /** + * Set activityTypeId + * + * @param integer $activityTypeId + * @return Survey + */ + public function setActivityTypeId($activityTypeId) { + $this->activityTypeId = $activityTypeId; + return $this; + } + + /** + * Get activityTypeId + * + * @return integer + */ + public function getActivityTypeId() { + return $this->activityTypeId; + } + + /** + * Set recontactInterval + * + * @param text $recontactInterval + * @return Survey + */ + public function setRecontactInterval($recontactInterval) { + $this->recontactInterval = $recontactInterval; + return $this; + } + + /** + * Get recontactInterval + * + * @return text + */ + public function getRecontactInterval() { + return $this->recontactInterval; + } + + /** + * Set instructions + * + * @param text $instructions + * @return Survey + */ + public function setInstructions($instructions) { + $this->instructions = $instructions; + return $this; + } + + /** + * Get instructions + * + * @return text + */ + public function getInstructions() { + return $this->instructions; + } + + /** + * Set releaseFrequency + * + * @param integer $releaseFrequency + * @return Survey + */ + public function setReleaseFrequency($releaseFrequency) { + $this->releaseFrequency = $releaseFrequency; + return $this; + } + + /** + * Get releaseFrequency + * + * @return integer + */ + public function getReleaseFrequency() { + return $this->releaseFrequency; + } + + /** + * Set maxNumberOfContacts + * + * @param integer $maxNumberOfContacts + * @return Survey + */ + public function setMaxNumberOfContacts($maxNumberOfContacts) { + $this->maxNumberOfContacts = $maxNumberOfContacts; + return $this; + } + + /** + * Get maxNumberOfContacts + * + * @return integer + */ + public function getMaxNumberOfContacts() { + return $this->maxNumberOfContacts; + } + + /** + * Set defaultNumberOfContacts + * + * @param integer $defaultNumberOfContacts + * @return Survey + */ + public function setDefaultNumberOfContacts($defaultNumberOfContacts) { + $this->defaultNumberOfContacts = $defaultNumberOfContacts; + return $this; + } + + /** + * Get defaultNumberOfContacts + * + * @return integer + */ + public function getDefaultNumberOfContacts() { + return $this->defaultNumberOfContacts; + } + + /** + * Set isActive + * + * @param boolean $isActive + * @return Survey + */ + public function setIsActive($isActive) { + $this->isActive = $isActive; + return $this; + } + + /** + * Get isActive + * + * @return boolean + */ + public function getIsActive() { + return $this->isActive; + } + + /** + * Set isDefault + * + * @param boolean $isDefault + * @return Survey + */ + public function setIsDefault($isDefault) { + $this->isDefault = $isDefault; + return $this; + } + + /** + * Get isDefault + * + * @return boolean + */ + public function getIsDefault() { + return $this->isDefault; + } + + /** + * Set created + * + * @param \Civi\Contact\Contact $created + * @return Survey + */ + public function setCreated(\Civi\Contact\Contact $created = null) { + $this->created = $created; + return $this; + } + + /** + * Get created + * + * @return \Civi\Contact\Contact + */ + public function getCreated() { + return $this->created; + } + + /** + * Set createdDate + * + * @param datetime $createdDate + * @return Survey + */ + public function setCreatedDate($createdDate) { + $this->createdDate = $createdDate; + return $this; + } + + /** + * Get createdDate + * + * @return datetime + */ + public function getCreatedDate() { + return $this->createdDate; + } + + /** + * Set lastModified + * + * @param \Civi\Contact\Contact $lastModified + * @return Survey + */ + public function setLastModified(\Civi\Contact\Contact $lastModified = null) { + $this->lastModified = $lastModified; + return $this; + } + + /** + * Get lastModified + * + * @return \Civi\Contact\Contact + */ + public function getLastModified() { + return $this->lastModified; + } + + /** + * Set lastModifiedDate + * + * @param datetime $lastModifiedDate + * @return Survey + */ + public function setLastModifiedDate($lastModifiedDate) { + $this->lastModifiedDate = $lastModifiedDate; + return $this; + } + + /** + * Get lastModifiedDate + * + * @return datetime + */ + public function getLastModifiedDate() { + return $this->lastModifiedDate; + } + + /** + * Set resultId + * + * @param integer $resultId + * @return Survey + */ + public function setResultId($resultId) { + $this->resultId = $resultId; + return $this; + } + + /** + * Get resultId + * + * @return integer + */ + public function getResultId() { + return $this->resultId; + } + + /** + * Set bypassConfirm + * + * @param boolean $bypassConfirm + * @return Survey + */ + public function setBypassConfirm($bypassConfirm) { + $this->bypassConfirm = $bypassConfirm; + return $this; + } + + /** + * Get bypassConfirm + * + * @return boolean + */ + public function getBypassConfirm() { + return $this->bypassConfirm; + } + + /** + * Set thankyouTitle + * + * @param string $thankyouTitle + * @return Survey + */ + public function setThankyouTitle($thankyouTitle) { + $this->thankyouTitle = $thankyouTitle; + return $this; + } + + /** + * Get thankyouTitle + * + * @return string + */ + public function getThankyouTitle() { + return $this->thankyouTitle; + } + + /** + * Set thankyouText + * + * @param text $thankyouText + * @return Survey + */ + public function setThankyouText($thankyouText) { + $this->thankyouText = $thankyouText; + return $this; + } + + /** + * Get thankyouText + * + * @return text + */ + public function getThankyouText() { + return $this->thankyouText; + } + + /** + * Set isShare + * + * @param boolean $isShare + * @return Survey + */ + public function setIsShare($isShare) { + $this->isShare = $isShare; + return $this; + } + + /** + * Get isShare + * + * @return boolean + */ + public function getIsShare() { + return $this->isShare; + } + +} + diff --git a/Civi/Case/Case.php b/Civi/Case/Case.php new file mode 100644 index 0000000000..2ce3febdb3 --- /dev/null +++ b/Civi/Case/Case.php @@ -0,0 +1,264 @@ +id; + } + + /** + * Set caseTypeId + * + * @param string $caseTypeId + * @return Case + */ + public function setCaseTypeId($caseTypeId) { + $this->caseTypeId = $caseTypeId; + return $this; + } + + /** + * Get caseTypeId + * + * @return string + */ + public function getCaseTypeId() { + return $this->caseTypeId; + } + + /** + * Set subject + * + * @param string $subject + * @return Case + */ + public function setSubject($subject) { + $this->subject = $subject; + return $this; + } + + /** + * Get subject + * + * @return string + */ + public function getSubject() { + return $this->subject; + } + + /** + * Set startDate + * + * @param date $startDate + * @return Case + */ + public function setStartDate($startDate) { + $this->startDate = $startDate; + return $this; + } + + /** + * Get startDate + * + * @return date + */ + public function getStartDate() { + return $this->startDate; + } + + /** + * Set endDate + * + * @param date $endDate + * @return Case + */ + public function setEndDate($endDate) { + $this->endDate = $endDate; + return $this; + } + + /** + * Get endDate + * + * @return date + */ + public function getEndDate() { + return $this->endDate; + } + + /** + * Set details + * + * @param text $details + * @return Case + */ + public function setDetails($details) { + $this->details = $details; + return $this; + } + + /** + * Get details + * + * @return text + */ + public function getDetails() { + return $this->details; + } + + /** + * Set statusId + * + * @param integer $statusId + * @return Case + */ + public function setStatusId($statusId) { + $this->statusId = $statusId; + return $this; + } + + /** + * Get statusId + * + * @return integer + */ + public function getStatusId() { + return $this->statusId; + } + + /** + * Set isDeleted + * + * @param boolean $isDeleted + * @return Case + */ + public function setIsDeleted($isDeleted) { + $this->isDeleted = $isDeleted; + return $this; + } + + /** + * Get isDeleted + * + * @return boolean + */ + public function getIsDeleted() { + return $this->isDeleted; + } + +} + diff --git a/Civi/Case/CaseActivity.php b/Civi/Case/CaseActivity.php new file mode 100644 index 0000000000..9a2b03caad --- /dev/null +++ b/Civi/Case/CaseActivity.php @@ -0,0 +1,124 @@ +id; + } + + /** + * Set case + * + * @param \Civi\Case\Case $case + * @return CaseActivity + */ + public function setCase(\Civi\Case\Case $case = null) { + $this->case = $case; + return $this; + } + + /** + * Get case + * + * @return \Civi\Case\Case + */ + public function getCase() { + return $this->case; + } + + /** + * Set activity + * + * @param \Civi\Activity\Activity $activity + * @return CaseActivity + */ + public function setActivity(\Civi\Activity\Activity $activity = null) { + $this->activity = $activity; + return $this; + } + + /** + * Get activity + * + * @return \Civi\Activity\Activity + */ + public function getActivity() { + return $this->activity; + } + +} + diff --git a/Civi/Case/CaseContact.php b/Civi/Case/CaseContact.php new file mode 100644 index 0000000000..4848e86824 --- /dev/null +++ b/Civi/Case/CaseContact.php @@ -0,0 +1,124 @@ +id; + } + + /** + * Set case + * + * @param \Civi\Case\Case $case + * @return CaseContact + */ + public function setCase(\Civi\Case\Case $case = null) { + $this->case = $case; + return $this; + } + + /** + * Get case + * + * @return \Civi\Case\Case + */ + public function getCase() { + return $this->case; + } + + /** + * Set contact + * + * @param \Civi\Contact\Contact $contact + * @return CaseContact + */ + public function setContact(\Civi\Contact\Contact $contact = null) { + $this->contact = $contact; + return $this; + } + + /** + * Get contact + * + * @return \Civi\Contact\Contact + */ + public function getContact() { + return $this->contact; + } + +} + diff --git a/Civi/Contact/ACLContactCache.php b/Civi/Contact/ACLContactCache.php new file mode 100644 index 0000000000..a92755aac4 --- /dev/null +++ b/Civi/Contact/ACLContactCache.php @@ -0,0 +1,152 @@ +id; + } + + /** + * Set user + * + * @param \Civi\Contact\Contact $user + * @return ACLContactCache + */ + public function setUser(\Civi\Contact\Contact $user = null) { + $this->user = $user; + return $this; + } + + /** + * Get user + * + * @return \Civi\Contact\Contact + */ + public function getUser() { + return $this->user; + } + + /** + * Set contact + * + * @param \Civi\Contact\Contact $contact + * @return ACLContactCache + */ + public function setContact(\Civi\Contact\Contact $contact = null) { + $this->contact = $contact; + return $this; + } + + /** + * Get contact + * + * @return \Civi\Contact\Contact + */ + public function getContact() { + return $this->contact; + } + + /** + * Set operation + * + * @param string $operation + * @return ACLContactCache + */ + public function setOperation($operation) { + $this->operation = $operation; + return $this; + } + + /** + * Get operation + * + * @return string + */ + public function getOperation() { + return $this->operation; + } + +} + diff --git a/Civi/Contact/Contact.php b/Civi/Contact/Contact.php new file mode 100644 index 0000000000..69f0c20076 --- /dev/null +++ b/Civi/Contact/Contact.php @@ -0,0 +1,1496 @@ +id; + } + + /** + * Set contactType + * + * @param string $contactType + * @return Contact + */ + public function setContactType($contactType) { + $this->contactType = $contactType; + return $this; + } + + /** + * Get contactType + * + * @return string + */ + public function getContactType() { + return $this->contactType; + } + + /** + * Set contactSubType + * + * @param string $contactSubType + * @return Contact + */ + public function setContactSubType($contactSubType) { + $this->contactSubType = $contactSubType; + return $this; + } + + /** + * Get contactSubType + * + * @return string + */ + public function getContactSubType() { + return $this->contactSubType; + } + + /** + * Set doNotEmail + * + * @param boolean $doNotEmail + * @return Contact + */ + public function setDoNotEmail($doNotEmail) { + $this->doNotEmail = $doNotEmail; + return $this; + } + + /** + * Get doNotEmail + * + * @return boolean + */ + public function getDoNotEmail() { + return $this->doNotEmail; + } + + /** + * Set doNotPhone + * + * @param boolean $doNotPhone + * @return Contact + */ + public function setDoNotPhone($doNotPhone) { + $this->doNotPhone = $doNotPhone; + return $this; + } + + /** + * Get doNotPhone + * + * @return boolean + */ + public function getDoNotPhone() { + return $this->doNotPhone; + } + + /** + * Set doNotMail + * + * @param boolean $doNotMail + * @return Contact + */ + public function setDoNotMail($doNotMail) { + $this->doNotMail = $doNotMail; + return $this; + } + + /** + * Get doNotMail + * + * @return boolean + */ + public function getDoNotMail() { + return $this->doNotMail; + } + + /** + * Set doNotSms + * + * @param boolean $doNotSms + * @return Contact + */ + public function setDoNotSms($doNotSms) { + $this->doNotSms = $doNotSms; + return $this; + } + + /** + * Get doNotSms + * + * @return boolean + */ + public function getDoNotSms() { + return $this->doNotSms; + } + + /** + * Set doNotTrade + * + * @param boolean $doNotTrade + * @return Contact + */ + public function setDoNotTrade($doNotTrade) { + $this->doNotTrade = $doNotTrade; + return $this; + } + + /** + * Get doNotTrade + * + * @return boolean + */ + public function getDoNotTrade() { + return $this->doNotTrade; + } + + /** + * Set isOptOut + * + * @param boolean $isOptOut + * @return Contact + */ + public function setIsOptOut($isOptOut) { + $this->isOptOut = $isOptOut; + return $this; + } + + /** + * Get isOptOut + * + * @return boolean + */ + public function getIsOptOut() { + return $this->isOptOut; + } + + /** + * Set legalIdentifier + * + * @param string $legalIdentifier + * @return Contact + */ + public function setLegalIdentifier($legalIdentifier) { + $this->legalIdentifier = $legalIdentifier; + return $this; + } + + /** + * Get legalIdentifier + * + * @return string + */ + public function getLegalIdentifier() { + return $this->legalIdentifier; + } + + /** + * Set externalIdentifier + * + * @param string $externalIdentifier + * @return Contact + */ + public function setExternalIdentifier($externalIdentifier) { + $this->externalIdentifier = $externalIdentifier; + return $this; + } + + /** + * Get externalIdentifier + * + * @return string + */ + public function getExternalIdentifier() { + return $this->externalIdentifier; + } + + /** + * Set sortName + * + * @param string $sortName + * @return Contact + */ + public function setSortName($sortName) { + $this->sortName = $sortName; + return $this; + } + + /** + * Get sortName + * + * @return string + */ + public function getSortName() { + return $this->sortName; + } + + /** + * Set displayName + * + * @param string $displayName + * @return Contact + */ + public function setDisplayName($displayName) { + $this->displayName = $displayName; + return $this; + } + + /** + * Get displayName + * + * @return string + */ + public function getDisplayName() { + return $this->displayName; + } + + /** + * Set nickName + * + * @param string $nickName + * @return Contact + */ + public function setNickName($nickName) { + $this->nickName = $nickName; + return $this; + } + + /** + * Get nickName + * + * @return string + */ + public function getNickName() { + return $this->nickName; + } + + /** + * Set legalName + * + * @param string $legalName + * @return Contact + */ + public function setLegalName($legalName) { + $this->legalName = $legalName; + return $this; + } + + /** + * Get legalName + * + * @return string + */ + public function getLegalName() { + return $this->legalName; + } + + /** + * Set imageURL + * + * @param string $imageURL + * @return Contact + */ + public function setImageURL($imageURL) { + $this->imageURL = $imageURL; + return $this; + } + + /** + * Get imageURL + * + * @return string + */ + public function getImageURL() { + return $this->imageURL; + } + + /** + * Set preferredCommunicationMethod + * + * @param string $preferredCommunicationMethod + * @return Contact + */ + public function setPreferredCommunicationMethod($preferredCommunicationMethod) { + $this->preferredCommunicationMethod = $preferredCommunicationMethod; + return $this; + } + + /** + * Get preferredCommunicationMethod + * + * @return string + */ + public function getPreferredCommunicationMethod() { + return $this->preferredCommunicationMethod; + } + + /** + * Set preferredLanguage + * + * @param string $preferredLanguage + * @return Contact + */ + public function setPreferredLanguage($preferredLanguage) { + $this->preferredLanguage = $preferredLanguage; + return $this; + } + + /** + * Get preferredLanguage + * + * @return string + */ + public function getPreferredLanguage() { + return $this->preferredLanguage; + } + + /** + * Set preferredMailFormat + * + * @param string $preferredMailFormat + * @return Contact + */ + public function setPreferredMailFormat($preferredMailFormat) { + $this->preferredMailFormat = $preferredMailFormat; + return $this; + } + + /** + * Get preferredMailFormat + * + * @return string + */ + public function getPreferredMailFormat() { + return $this->preferredMailFormat; + } + + /** + * Set hash + * + * @param string $hash + * @return Contact + */ + public function setHash($hash) { + $this->hash = $hash; + return $this; + } + + /** + * Get hash + * + * @return string + */ + public function getHash() { + return $this->hash; + } + + /** + * Set apiKey + * + * @param string $apiKey + * @return Contact + */ + public function setApiKey($apiKey) { + $this->apiKey = $apiKey; + return $this; + } + + /** + * Get apiKey + * + * @return string + */ + public function getApiKey() { + return $this->apiKey; + } + + /** + * Set source + * + * @param string $source + * @return Contact + */ + public function setSource($source) { + $this->source = $source; + return $this; + } + + /** + * Get source + * + * @return string + */ + public function getSource() { + return $this->source; + } + + /** + * Set firstName + * + * @param string $firstName + * @return Contact + */ + public function setFirstName($firstName) { + $this->firstName = $firstName; + return $this; + } + + /** + * Get firstName + * + * @return string + */ + public function getFirstName() { + return $this->firstName; + } + + /** + * Set middleName + * + * @param string $middleName + * @return Contact + */ + public function setMiddleName($middleName) { + $this->middleName = $middleName; + return $this; + } + + /** + * Get middleName + * + * @return string + */ + public function getMiddleName() { + return $this->middleName; + } + + /** + * Set lastName + * + * @param string $lastName + * @return Contact + */ + public function setLastName($lastName) { + $this->lastName = $lastName; + return $this; + } + + /** + * Get lastName + * + * @return string + */ + public function getLastName() { + return $this->lastName; + } + + /** + * Set prefixId + * + * @param integer $prefixId + * @return Contact + */ + public function setPrefixId($prefixId) { + $this->prefixId = $prefixId; + return $this; + } + + /** + * Get prefixId + * + * @return integer + */ + public function getPrefixId() { + return $this->prefixId; + } + + /** + * Set suffixId + * + * @param integer $suffixId + * @return Contact + */ + public function setSuffixId($suffixId) { + $this->suffixId = $suffixId; + return $this; + } + + /** + * Get suffixId + * + * @return integer + */ + public function getSuffixId() { + return $this->suffixId; + } + + /** + * Set formalTitle + * + * @param string $formalTitle + * @return Contact + */ + public function setFormalTitle($formalTitle) { + $this->formalTitle = $formalTitle; + return $this; + } + + /** + * Get formalTitle + * + * @return string + */ + public function getFormalTitle() { + return $this->formalTitle; + } + + /** + * Set communicationStyleId + * + * @param integer $communicationStyleId + * @return Contact + */ + public function setCommunicationStyleId($communicationStyleId) { + $this->communicationStyleId = $communicationStyleId; + return $this; + } + + /** + * Get communicationStyleId + * + * @return integer + */ + public function getCommunicationStyleId() { + return $this->communicationStyleId; + } + + /** + * Set emailGreetingId + * + * @param integer $emailGreetingId + * @return Contact + */ + public function setEmailGreetingId($emailGreetingId) { + $this->emailGreetingId = $emailGreetingId; + return $this; + } + + /** + * Get emailGreetingId + * + * @return integer + */ + public function getEmailGreetingId() { + return $this->emailGreetingId; + } + + /** + * Set emailGreetingCustom + * + * @param string $emailGreetingCustom + * @return Contact + */ + public function setEmailGreetingCustom($emailGreetingCustom) { + $this->emailGreetingCustom = $emailGreetingCustom; + return $this; + } + + /** + * Get emailGreetingCustom + * + * @return string + */ + public function getEmailGreetingCustom() { + return $this->emailGreetingCustom; + } + + /** + * Set emailGreetingDisplay + * + * @param string $emailGreetingDisplay + * @return Contact + */ + public function setEmailGreetingDisplay($emailGreetingDisplay) { + $this->emailGreetingDisplay = $emailGreetingDisplay; + return $this; + } + + /** + * Get emailGreetingDisplay + * + * @return string + */ + public function getEmailGreetingDisplay() { + return $this->emailGreetingDisplay; + } + + /** + * Set postalGreetingId + * + * @param integer $postalGreetingId + * @return Contact + */ + public function setPostalGreetingId($postalGreetingId) { + $this->postalGreetingId = $postalGreetingId; + return $this; + } + + /** + * Get postalGreetingId + * + * @return integer + */ + public function getPostalGreetingId() { + return $this->postalGreetingId; + } + + /** + * Set postalGreetingCustom + * + * @param string $postalGreetingCustom + * @return Contact + */ + public function setPostalGreetingCustom($postalGreetingCustom) { + $this->postalGreetingCustom = $postalGreetingCustom; + return $this; + } + + /** + * Get postalGreetingCustom + * + * @return string + */ + public function getPostalGreetingCustom() { + return $this->postalGreetingCustom; + } + + /** + * Set postalGreetingDisplay + * + * @param string $postalGreetingDisplay + * @return Contact + */ + public function setPostalGreetingDisplay($postalGreetingDisplay) { + $this->postalGreetingDisplay = $postalGreetingDisplay; + return $this; + } + + /** + * Get postalGreetingDisplay + * + * @return string + */ + public function getPostalGreetingDisplay() { + return $this->postalGreetingDisplay; + } + + /** + * Set addresseeId + * + * @param integer $addresseeId + * @return Contact + */ + public function setAddresseeId($addresseeId) { + $this->addresseeId = $addresseeId; + return $this; + } + + /** + * Get addresseeId + * + * @return integer + */ + public function getAddresseeId() { + return $this->addresseeId; + } + + /** + * Set addresseeCustom + * + * @param string $addresseeCustom + * @return Contact + */ + public function setAddresseeCustom($addresseeCustom) { + $this->addresseeCustom = $addresseeCustom; + return $this; + } + + /** + * Get addresseeCustom + * + * @return string + */ + public function getAddresseeCustom() { + return $this->addresseeCustom; + } + + /** + * Set addresseeDisplay + * + * @param string $addresseeDisplay + * @return Contact + */ + public function setAddresseeDisplay($addresseeDisplay) { + $this->addresseeDisplay = $addresseeDisplay; + return $this; + } + + /** + * Get addresseeDisplay + * + * @return string + */ + public function getAddresseeDisplay() { + return $this->addresseeDisplay; + } + + /** + * Set jobTitle + * + * @param string $jobTitle + * @return Contact + */ + public function setJobTitle($jobTitle) { + $this->jobTitle = $jobTitle; + return $this; + } + + /** + * Get jobTitle + * + * @return string + */ + public function getJobTitle() { + return $this->jobTitle; + } + + /** + * Set genderId + * + * @param integer $genderId + * @return Contact + */ + public function setGenderId($genderId) { + $this->genderId = $genderId; + return $this; + } + + /** + * Get genderId + * + * @return integer + */ + public function getGenderId() { + return $this->genderId; + } + + /** + * Set birthDate + * + * @param date $birthDate + * @return Contact + */ + public function setBirthDate($birthDate) { + $this->birthDate = $birthDate; + return $this; + } + + /** + * Get birthDate + * + * @return date + */ + public function getBirthDate() { + return $this->birthDate; + } + + /** + * Set isDeceased + * + * @param boolean $isDeceased + * @return Contact + */ + public function setIsDeceased($isDeceased) { + $this->isDeceased = $isDeceased; + return $this; + } + + /** + * Get isDeceased + * + * @return boolean + */ + public function getIsDeceased() { + return $this->isDeceased; + } + + /** + * Set deceasedDate + * + * @param date $deceasedDate + * @return Contact + */ + public function setDeceasedDate($deceasedDate) { + $this->deceasedDate = $deceasedDate; + return $this; + } + + /** + * Get deceasedDate + * + * @return date + */ + public function getDeceasedDate() { + return $this->deceasedDate; + } + + /** + * Set householdName + * + * @param string $householdName + * @return Contact + */ + public function setHouseholdName($householdName) { + $this->householdName = $householdName; + return $this; + } + + /** + * Get householdName + * + * @return string + */ + public function getHouseholdName() { + return $this->householdName; + } + + /** + * Set primaryContact + * + * @param \Civi\Contact\Contact $primaryContact + * @return Contact + */ + public function setPrimaryContact(\Civi\Contact\Contact $primaryContact = null) { + $this->primaryContact = $primaryContact; + return $this; + } + + /** + * Get primaryContact + * + * @return \Civi\Contact\Contact + */ + public function getPrimaryContact() { + return $this->primaryContact; + } + + /** + * Set organizationName + * + * @param string $organizationName + * @return Contact + */ + public function setOrganizationName($organizationName) { + $this->organizationName = $organizationName; + return $this; + } + + /** + * Get organizationName + * + * @return string + */ + public function getOrganizationName() { + return $this->organizationName; + } + + /** + * Set sicCode + * + * @param string $sicCode + * @return Contact + */ + public function setSicCode($sicCode) { + $this->sicCode = $sicCode; + return $this; + } + + /** + * Get sicCode + * + * @return string + */ + public function getSicCode() { + return $this->sicCode; + } + + /** + * Set userUniqueId + * + * @param string $userUniqueId + * @return Contact + */ + public function setUserUniqueId($userUniqueId) { + $this->userUniqueId = $userUniqueId; + return $this; + } + + /** + * Get userUniqueId + * + * @return string + */ + public function getUserUniqueId() { + return $this->userUniqueId; + } + + /** + * Set employer + * + * @param \Civi\Contact\Contact $employer + * @return Contact + */ + public function setEmployer(\Civi\Contact\Contact $employer = null) { + $this->employer = $employer; + return $this; + } + + /** + * Get employer + * + * @return \Civi\Contact\Contact + */ + public function getEmployer() { + return $this->employer; + } + + /** + * Set isDeleted + * + * @param boolean $isDeleted + * @return Contact + */ + public function setIsDeleted($isDeleted) { + $this->isDeleted = $isDeleted; + return $this; + } + + /** + * Get isDeleted + * + * @return boolean + */ + public function getIsDeleted() { + return $this->isDeleted; + } + + /** + * Set createdDate + * + * @param timestamp $createdDate + * @return Contact + */ + public function setCreatedDate($createdDate) { + $this->createdDate = $createdDate; + return $this; + } + + /** + * Get createdDate + * + * @return timestamp + */ + public function getCreatedDate() { + return $this->createdDate; + } + + /** + * Set modifiedDate + * + * @param timestamp $modifiedDate + * @return Contact + */ + public function setModifiedDate($modifiedDate) { + $this->modifiedDate = $modifiedDate; + return $this; + } + + /** + * Get modifiedDate + * + * @return timestamp + */ + public function getModifiedDate() { + return $this->modifiedDate; + } + +} + diff --git a/Civi/Contact/ContactType.php b/Civi/Contact/ContactType.php new file mode 100644 index 0000000000..40c5aaf0df --- /dev/null +++ b/Civi/Contact/ContactType.php @@ -0,0 +1,264 @@ +id; + } + + /** + * Set name + * + * @param string $name + * @return ContactType + */ + public function setName($name) { + $this->name = $name; + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() { + return $this->name; + } + + /** + * Set label + * + * @param string $label + * @return ContactType + */ + public function setLabel($label) { + $this->label = $label; + return $this; + } + + /** + * Get label + * + * @return string + */ + public function getLabel() { + return $this->label; + } + + /** + * Set description + * + * @param text $description + * @return ContactType + */ + public function setDescription($description) { + $this->description = $description; + return $this; + } + + /** + * Get description + * + * @return text + */ + public function getDescription() { + return $this->description; + } + + /** + * Set imageURL + * + * @param string $imageURL + * @return ContactType + */ + public function setImageURL($imageURL) { + $this->imageURL = $imageURL; + return $this; + } + + /** + * Get imageURL + * + * @return string + */ + public function getImageURL() { + return $this->imageURL; + } + + /** + * Set parent + * + * @param \Civi\Contact\ContactType $parent + * @return ContactType + */ + public function setParent(\Civi\Contact\ContactType $parent = null) { + $this->parent = $parent; + return $this; + } + + /** + * Get parent + * + * @return \Civi\Contact\ContactType + */ + public function getParent() { + return $this->parent; + } + + /** + * Set isActive + * + * @param boolean $isActive + * @return ContactType + */ + public function setIsActive($isActive) { + $this->isActive = $isActive; + return $this; + } + + /** + * Get isActive + * + * @return boolean + */ + public function getIsActive() { + return $this->isActive; + } + + /** + * Set isReserved + * + * @param boolean $isReserved + * @return ContactType + */ + public function setIsReserved($isReserved) { + $this->isReserved = $isReserved; + return $this; + } + + /** + * Get isReserved + * + * @return boolean + */ + public function getIsReserved() { + return $this->isReserved; + } + +} + diff --git a/Civi/Contact/DashboardContact.php b/Civi/Contact/DashboardContact.php new file mode 100644 index 0000000000..20cb9b35de --- /dev/null +++ b/Civi/Contact/DashboardContact.php @@ -0,0 +1,320 @@ +id; + } + + /** + * Set dashboard + * + * @param \Civi\Core\Dashboard $dashboard + * @return DashboardContact + */ + public function setDashboard(\Civi\Core\Dashboard $dashboard = null) { + $this->dashboard = $dashboard; + return $this; + } + + /** + * Get dashboard + * + * @return \Civi\Core\Dashboard + */ + public function getDashboard() { + return $this->dashboard; + } + + /** + * Set contact + * + * @param \Civi\Contact\Contact $contact + * @return DashboardContact + */ + public function setContact(\Civi\Contact\Contact $contact = null) { + $this->contact = $contact; + return $this; + } + + /** + * Get contact + * + * @return \Civi\Contact\Contact + */ + public function getContact() { + return $this->contact; + } + + /** + * Set columnNo + * + * @param boolean $columnNo + * @return DashboardContact + */ + public function setColumnNo($columnNo) { + $this->columnNo = $columnNo; + return $this; + } + + /** + * Get columnNo + * + * @return boolean + */ + public function getColumnNo() { + return $this->columnNo; + } + + /** + * Set isMinimized + * + * @param boolean $isMinimized + * @return DashboardContact + */ + public function setIsMinimized($isMinimized) { + $this->isMinimized = $isMinimized; + return $this; + } + + /** + * Get isMinimized + * + * @return boolean + */ + public function getIsMinimized() { + return $this->isMinimized; + } + + /** + * Set isFullscreen + * + * @param boolean $isFullscreen + * @return DashboardContact + */ + public function setIsFullscreen($isFullscreen) { + $this->isFullscreen = $isFullscreen; + return $this; + } + + /** + * Get isFullscreen + * + * @return boolean + */ + public function getIsFullscreen() { + return $this->isFullscreen; + } + + /** + * Set isActive + * + * @param boolean $isActive + * @return DashboardContact + */ + public function setIsActive($isActive) { + $this->isActive = $isActive; + return $this; + } + + /** + * Get isActive + * + * @return boolean + */ + public function getIsActive() { + return $this->isActive; + } + + /** + * Set weight + * + * @param int $weight + * @return DashboardContact + */ + public function setWeight($weight) { + $this->weight = $weight; + return $this; + } + + /** + * Get weight + * + * @return int + */ + public function getWeight() { + return $this->weight; + } + + /** + * Set content + * + * @param longtext $content + * @return DashboardContact + */ + public function setContent($content) { + $this->content = $content; + return $this; + } + + /** + * Get content + * + * @return longtext + */ + public function getContent() { + return $this->content; + } + + /** + * Set createdDate + * + * @param datetime $createdDate + * @return DashboardContact + */ + public function setCreatedDate($createdDate) { + $this->createdDate = $createdDate; + return $this; + } + + /** + * Get createdDate + * + * @return datetime + */ + public function getCreatedDate() { + return $this->createdDate; + } + +} + diff --git a/Civi/Contact/Group.php b/Civi/Contact/Group.php new file mode 100644 index 0000000000..7a3d7dfca1 --- /dev/null +++ b/Civi/Contact/Group.php @@ -0,0 +1,600 @@ +id; + } + + /** + * Set name + * + * @param string $name + * @return Group + */ + public function setName($name) { + $this->name = $name; + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() { + return $this->name; + } + + /** + * Set title + * + * @param string $title + * @return Group + */ + public function setTitle($title) { + $this->title = $title; + return $this; + } + + /** + * Get title + * + * @return string + */ + public function getTitle() { + return $this->title; + } + + /** + * Set description + * + * @param text $description + * @return Group + */ + public function setDescription($description) { + $this->description = $description; + return $this; + } + + /** + * Get description + * + * @return text + */ + public function getDescription() { + return $this->description; + } + + /** + * Set source + * + * @param string $source + * @return Group + */ + public function setSource($source) { + $this->source = $source; + return $this; + } + + /** + * Get source + * + * @return string + */ + public function getSource() { + return $this->source; + } + + /** + * Set savedSearch + * + * @param \Civi\Contact\SavedSearch $savedSearch + * @return Group + */ + public function setSavedSearch(\Civi\Contact\SavedSearch $savedSearch = null) { + $this->savedSearch = $savedSearch; + return $this; + } + + /** + * Get savedSearch + * + * @return \Civi\Contact\SavedSearch + */ + public function getSavedSearch() { + return $this->savedSearch; + } + + /** + * Set isActive + * + * @param boolean $isActive + * @return Group + */ + public function setIsActive($isActive) { + $this->isActive = $isActive; + return $this; + } + + /** + * Get isActive + * + * @return boolean + */ + public function getIsActive() { + return $this->isActive; + } + + /** + * Set visibility + * + * @param string $visibility + * @return Group + */ + public function setVisibility($visibility) { + $this->visibility = $visibility; + return $this; + } + + /** + * Get visibility + * + * @return string + */ + public function getVisibility() { + return $this->visibility; + } + + /** + * Set whereClause + * + * @param text $whereClause + * @return Group + */ + public function setWhereClause($whereClause) { + $this->whereClause = $whereClause; + return $this; + } + + /** + * Get whereClause + * + * @return text + */ + public function getWhereClause() { + return $this->whereClause; + } + + /** + * Set selectTables + * + * @param text $selectTables + * @return Group + */ + public function setSelectTables($selectTables) { + $this->selectTables = $selectTables; + return $this; + } + + /** + * Get selectTables + * + * @return text + */ + public function getSelectTables() { + return $this->selectTables; + } + + /** + * Set whereTables + * + * @param text $whereTables + * @return Group + */ + public function setWhereTables($whereTables) { + $this->whereTables = $whereTables; + return $this; + } + + /** + * Get whereTables + * + * @return text + */ + public function getWhereTables() { + return $this->whereTables; + } + + /** + * Set groupType + * + * @param string $groupType + * @return Group + */ + public function setGroupType($groupType) { + $this->groupType = $groupType; + return $this; + } + + /** + * Get groupType + * + * @return string + */ + public function getGroupType() { + return $this->groupType; + } + + /** + * Set cacheDate + * + * @param datetime $cacheDate + * @return Group + */ + public function setCacheDate($cacheDate) { + $this->cacheDate = $cacheDate; + return $this; + } + + /** + * Get cacheDate + * + * @return datetime + */ + public function getCacheDate() { + return $this->cacheDate; + } + + /** + * Set refreshDate + * + * @param datetime $refreshDate + * @return Group + */ + public function setRefreshDate($refreshDate) { + $this->refreshDate = $refreshDate; + return $this; + } + + /** + * Get refreshDate + * + * @return datetime + */ + public function getRefreshDate() { + return $this->refreshDate; + } + + /** + * Set parents + * + * @param text $parents + * @return Group + */ + public function setParents($parents) { + $this->parents = $parents; + return $this; + } + + /** + * Get parents + * + * @return text + */ + public function getParents() { + return $this->parents; + } + + /** + * Set children + * + * @param text $children + * @return Group + */ + public function setChildren($children) { + $this->children = $children; + return $this; + } + + /** + * Get children + * + * @return text + */ + public function getChildren() { + return $this->children; + } + + /** + * Set isHidden + * + * @param boolean $isHidden + * @return Group + */ + public function setIsHidden($isHidden) { + $this->isHidden = $isHidden; + return $this; + } + + /** + * Get isHidden + * + * @return boolean + */ + public function getIsHidden() { + return $this->isHidden; + } + + /** + * Set isReserved + * + * @param boolean $isReserved + * @return Group + */ + public function setIsReserved($isReserved) { + $this->isReserved = $isReserved; + return $this; + } + + /** + * Get isReserved + * + * @return boolean + */ + public function getIsReserved() { + return $this->isReserved; + } + + /** + * Set created + * + * @param \Civi\Contact\Contact $created + * @return Group + */ + public function setCreated(\Civi\Contact\Contact $created = null) { + $this->created = $created; + return $this; + } + + /** + * Get created + * + * @return \Civi\Contact\Contact + */ + public function getCreated() { + return $this->created; + } + + /** + * Set modified + * + * @param \Civi\Contact\Contact $modified + * @return Group + */ + public function setModified(\Civi\Contact\Contact $modified = null) { + $this->modified = $modified; + return $this; + } + + /** + * Get modified + * + * @return \Civi\Contact\Contact + */ + public function getModified() { + return $this->modified; + } + +} + diff --git a/Civi/Contact/GroupContact.php b/Civi/Contact/GroupContact.php new file mode 100644 index 0000000000..84990273a2 --- /dev/null +++ b/Civi/Contact/GroupContact.php @@ -0,0 +1,208 @@ +id; + } + + /** + * Set group + * + * @param \Civi\Contact\Group $group + * @return GroupContact + */ + public function setGroup(\Civi\Contact\Group $group = null) { + $this->group = $group; + return $this; + } + + /** + * Get group + * + * @return \Civi\Contact\Group + */ + public function getGroup() { + return $this->group; + } + + /** + * Set contact + * + * @param \Civi\Contact\Contact $contact + * @return GroupContact + */ + public function setContact(\Civi\Contact\Contact $contact = null) { + $this->contact = $contact; + return $this; + } + + /** + * Get contact + * + * @return \Civi\Contact\Contact + */ + public function getContact() { + return $this->contact; + } + + /** + * Set status + * + * @param string $status + * @return GroupContact + */ + public function setStatus($status) { + $this->status = $status; + return $this; + } + + /** + * Get status + * + * @return string + */ + public function getStatus() { + return $this->status; + } + + /** + * Set location + * + * @param \Civi\Core\LocBlock $location + * @return GroupContact + */ + public function setLocation(\Civi\Core\LocBlock $location = null) { + $this->location = $location; + return $this; + } + + /** + * Get location + * + * @return \Civi\Core\LocBlock + */ + public function getLocation() { + return $this->location; + } + + /** + * Set email + * + * @param \Civi\Core\Email $email + * @return GroupContact + */ + public function setEmail(\Civi\Core\Email $email = null) { + $this->email = $email; + return $this; + } + + /** + * Get email + * + * @return \Civi\Core\Email + */ + public function getEmail() { + return $this->email; + } + +} + diff --git a/Civi/Contact/GroupContactCache.php b/Civi/Contact/GroupContactCache.php new file mode 100644 index 0000000000..e8cdb2fd18 --- /dev/null +++ b/Civi/Contact/GroupContactCache.php @@ -0,0 +1,124 @@ +id; + } + + /** + * Set group + * + * @param \Civi\Contact\Group $group + * @return GroupContactCache + */ + public function setGroup(\Civi\Contact\Group $group = null) { + $this->group = $group; + return $this; + } + + /** + * Get group + * + * @return \Civi\Contact\Group + */ + public function getGroup() { + return $this->group; + } + + /** + * Set contact + * + * @param \Civi\Contact\Contact $contact + * @return GroupContactCache + */ + public function setContact(\Civi\Contact\Contact $contact = null) { + $this->contact = $contact; + return $this; + } + + /** + * Get contact + * + * @return \Civi\Contact\Contact + */ + public function getContact() { + return $this->contact; + } + +} + diff --git a/Civi/Contact/GroupNesting.php b/Civi/Contact/GroupNesting.php new file mode 100644 index 0000000000..d040022c11 --- /dev/null +++ b/Civi/Contact/GroupNesting.php @@ -0,0 +1,124 @@ +id; + } + + /** + * Set childGroup + * + * @param \Civi\Contact\Group $childGroup + * @return GroupNesting + */ + public function setChildGroup(\Civi\Contact\Group $childGroup = null) { + $this->childGroup = $childGroup; + return $this; + } + + /** + * Get childGroup + * + * @return \Civi\Contact\Group + */ + public function getChildGroup() { + return $this->childGroup; + } + + /** + * Set parentGroup + * + * @param \Civi\Contact\Group $parentGroup + * @return GroupNesting + */ + public function setParentGroup(\Civi\Contact\Group $parentGroup = null) { + $this->parentGroup = $parentGroup; + return $this; + } + + /** + * Get parentGroup + * + * @return \Civi\Contact\Group + */ + public function getParentGroup() { + return $this->parentGroup; + } + +} + diff --git a/Civi/Contact/GroupOrganization.php b/Civi/Contact/GroupOrganization.php new file mode 100644 index 0000000000..68f3f7cee9 --- /dev/null +++ b/Civi/Contact/GroupOrganization.php @@ -0,0 +1,124 @@ +id; + } + + /** + * Set group + * + * @param \Civi\Contact\Group $group + * @return GroupOrganization + */ + public function setGroup(\Civi\Contact\Group $group = null) { + $this->group = $group; + return $this; + } + + /** + * Get group + * + * @return \Civi\Contact\Group + */ + public function getGroup() { + return $this->group; + } + + /** + * Set organization + * + * @param \Civi\Contact\Contact $organization + * @return GroupOrganization + */ + public function setOrganization(\Civi\Contact\Contact $organization = null) { + $this->organization = $organization; + return $this; + } + + /** + * Get organization + * + * @return \Civi\Contact\Contact + */ + public function getOrganization() { + return $this->organization; + } + +} + diff --git a/Civi/Contact/Relationship.php b/Civi/Contact/Relationship.php new file mode 100644 index 0000000000..6a690a1f2c --- /dev/null +++ b/Civi/Contact/Relationship.php @@ -0,0 +1,348 @@ +id; + } + + /** + * Set contactA + * + * @param \Civi\Contact\Contact $contactA + * @return Relationship + */ + public function setContactA(\Civi\Contact\Contact $contactA = null) { + $this->contactA = $contactA; + return $this; + } + + /** + * Get contactA + * + * @return \Civi\Contact\Contact + */ + public function getContactA() { + return $this->contactA; + } + + /** + * Set contactB + * + * @param \Civi\Contact\Contact $contactB + * @return Relationship + */ + public function setContactB(\Civi\Contact\Contact $contactB = null) { + $this->contactB = $contactB; + return $this; + } + + /** + * Get contactB + * + * @return \Civi\Contact\Contact + */ + public function getContactB() { + return $this->contactB; + } + + /** + * Set relationshipType + * + * @param \Civi\Contact\RelationshipType $relationshipType + * @return Relationship + */ + public function setRelationshipType(\Civi\Contact\RelationshipType $relationshipType = null) { + $this->relationshipType = $relationshipType; + return $this; + } + + /** + * Get relationshipType + * + * @return \Civi\Contact\RelationshipType + */ + public function getRelationshipType() { + return $this->relationshipType; + } + + /** + * Set startDate + * + * @param date $startDate + * @return Relationship + */ + public function setStartDate($startDate) { + $this->startDate = $startDate; + return $this; + } + + /** + * Get startDate + * + * @return date + */ + public function getStartDate() { + return $this->startDate; + } + + /** + * Set endDate + * + * @param date $endDate + * @return Relationship + */ + public function setEndDate($endDate) { + $this->endDate = $endDate; + return $this; + } + + /** + * Get endDate + * + * @return date + */ + public function getEndDate() { + return $this->endDate; + } + + /** + * Set isActive + * + * @param boolean $isActive + * @return Relationship + */ + public function setIsActive($isActive) { + $this->isActive = $isActive; + return $this; + } + + /** + * Get isActive + * + * @return boolean + */ + public function getIsActive() { + return $this->isActive; + } + + /** + * Set description + * + * @param string $description + * @return Relationship + */ + public function setDescription($description) { + $this->description = $description; + return $this; + } + + /** + * Get description + * + * @return string + */ + public function getDescription() { + return $this->description; + } + + /** + * Set isPermissionAB + * + * @param boolean $isPermissionAB + * @return Relationship + */ + public function setIsPermissionAB($isPermissionAB) { + $this->isPermissionAB = $isPermissionAB; + return $this; + } + + /** + * Get isPermissionAB + * + * @return boolean + */ + public function getIsPermissionAB() { + return $this->isPermissionAB; + } + + /** + * Set isPermissionBA + * + * @param boolean $isPermissionBA + * @return Relationship + */ + public function setIsPermissionBA($isPermissionBA) { + $this->isPermissionBA = $isPermissionBA; + return $this; + } + + /** + * Get isPermissionBA + * + * @return boolean + */ + public function getIsPermissionBA() { + return $this->isPermissionBA; + } + + /** + * Set case + * + * @param \Civi\CCase\CCase $case + * @return Relationship + */ + public function setCase(\Civi\CCase\CCase $case = null) { + $this->case = $case; + return $this; + } + + /** + * Get case + * + * @return \Civi\CCase\CCase + */ + public function getCase() { + return $this->case; + } + +} + diff --git a/Civi/Contact/RelationshipType.php b/Civi/Contact/RelationshipType.php new file mode 100644 index 0000000000..597366d7e8 --- /dev/null +++ b/Civi/Contact/RelationshipType.php @@ -0,0 +1,376 @@ +id; + } + + /** + * Set nameAB + * + * @param string $nameAB + * @return RelationshipType + */ + public function setNameAB($nameAB) { + $this->nameAB = $nameAB; + return $this; + } + + /** + * Get nameAB + * + * @return string + */ + public function getNameAB() { + return $this->nameAB; + } + + /** + * Set labelAB + * + * @param string $labelAB + * @return RelationshipType + */ + public function setLabelAB($labelAB) { + $this->labelAB = $labelAB; + return $this; + } + + /** + * Get labelAB + * + * @return string + */ + public function getLabelAB() { + return $this->labelAB; + } + + /** + * Set nameBA + * + * @param string $nameBA + * @return RelationshipType + */ + public function setNameBA($nameBA) { + $this->nameBA = $nameBA; + return $this; + } + + /** + * Get nameBA + * + * @return string + */ + public function getNameBA() { + return $this->nameBA; + } + + /** + * Set labelBA + * + * @param string $labelBA + * @return RelationshipType + */ + public function setLabelBA($labelBA) { + $this->labelBA = $labelBA; + return $this; + } + + /** + * Get labelBA + * + * @return string + */ + public function getLabelBA() { + return $this->labelBA; + } + + /** + * Set description + * + * @param string $description + * @return RelationshipType + */ + public function setDescription($description) { + $this->description = $description; + return $this; + } + + /** + * Get description + * + * @return string + */ + public function getDescription() { + return $this->description; + } + + /** + * Set contactTypeA + * + * @param string $contactTypeA + * @return RelationshipType + */ + public function setContactTypeA($contactTypeA) { + $this->contactTypeA = $contactTypeA; + return $this; + } + + /** + * Get contactTypeA + * + * @return string + */ + public function getContactTypeA() { + return $this->contactTypeA; + } + + /** + * Set contactTypeB + * + * @param string $contactTypeB + * @return RelationshipType + */ + public function setContactTypeB($contactTypeB) { + $this->contactTypeB = $contactTypeB; + return $this; + } + + /** + * Get contactTypeB + * + * @return string + */ + public function getContactTypeB() { + return $this->contactTypeB; + } + + /** + * Set contactSubTypeA + * + * @param string $contactSubTypeA + * @return RelationshipType + */ + public function setContactSubTypeA($contactSubTypeA) { + $this->contactSubTypeA = $contactSubTypeA; + return $this; + } + + /** + * Get contactSubTypeA + * + * @return string + */ + public function getContactSubTypeA() { + return $this->contactSubTypeA; + } + + /** + * Set contactSubTypeB + * + * @param string $contactSubTypeB + * @return RelationshipType + */ + public function setContactSubTypeB($contactSubTypeB) { + $this->contactSubTypeB = $contactSubTypeB; + return $this; + } + + /** + * Get contactSubTypeB + * + * @return string + */ + public function getContactSubTypeB() { + return $this->contactSubTypeB; + } + + /** + * Set isReserved + * + * @param boolean $isReserved + * @return RelationshipType + */ + public function setIsReserved($isReserved) { + $this->isReserved = $isReserved; + return $this; + } + + /** + * Get isReserved + * + * @return boolean + */ + public function getIsReserved() { + return $this->isReserved; + } + + /** + * Set isActive + * + * @param boolean $isActive + * @return RelationshipType + */ + public function setIsActive($isActive) { + $this->isActive = $isActive; + return $this; + } + + /** + * Get isActive + * + * @return boolean + */ + public function getIsActive() { + return $this->isActive; + } + +} + diff --git a/Civi/Contact/SavedSearch.php b/Civi/Contact/SavedSearch.php new file mode 100644 index 0000000000..b310deb907 --- /dev/null +++ b/Civi/Contact/SavedSearch.php @@ -0,0 +1,236 @@ +id; + } + + /** + * Set formValues + * + * @param text $formValues + * @return SavedSearch + */ + public function setFormValues($formValues) { + $this->formValues = $formValues; + return $this; + } + + /** + * Get formValues + * + * @return text + */ + public function getFormValues() { + return $this->formValues; + } + + /** + * Set mapping + * + * @param \Civi\Core\Mapping $mapping + * @return SavedSearch + */ + public function setMapping(\Civi\Core\Mapping $mapping = null) { + $this->mapping = $mapping; + return $this; + } + + /** + * Get mapping + * + * @return \Civi\Core\Mapping + */ + public function getMapping() { + return $this->mapping; + } + + /** + * Set searchCustomId + * + * @param integer $searchCustomId + * @return SavedSearch + */ + public function setSearchCustomId($searchCustomId) { + $this->searchCustomId = $searchCustomId; + return $this; + } + + /** + * Get searchCustomId + * + * @return integer + */ + public function getSearchCustomId() { + return $this->searchCustomId; + } + + /** + * Set whereClause + * + * @param text $whereClause + * @return SavedSearch + */ + public function setWhereClause($whereClause) { + $this->whereClause = $whereClause; + return $this; + } + + /** + * Get whereClause + * + * @return text + */ + public function getWhereClause() { + return $this->whereClause; + } + + /** + * Set selectTables + * + * @param text $selectTables + * @return SavedSearch + */ + public function setSelectTables($selectTables) { + $this->selectTables = $selectTables; + return $this; + } + + /** + * Get selectTables + * + * @return text + */ + public function getSelectTables() { + return $this->selectTables; + } + + /** + * Set whereTables + * + * @param text $whereTables + * @return SavedSearch + */ + public function setWhereTables($whereTables) { + $this->whereTables = $whereTables; + return $this; + } + + /** + * Get whereTables + * + * @return text + */ + public function getWhereTables() { + return $this->whereTables; + } + +} + diff --git a/Civi/Contact/SubscriptionHistory.php b/Civi/Contact/SubscriptionHistory.php new file mode 100644 index 0000000000..da8094155d --- /dev/null +++ b/Civi/Contact/SubscriptionHistory.php @@ -0,0 +1,236 @@ +id; + } + + /** + * Set contact + * + * @param \Civi\Contact\Contact $contact + * @return SubscriptionHistory + */ + public function setContact(\Civi\Contact\Contact $contact = null) { + $this->contact = $contact; + return $this; + } + + /** + * Get contact + * + * @return \Civi\Contact\Contact + */ + public function getContact() { + return $this->contact; + } + + /** + * Set group + * + * @param \Civi\Contact\Group $group + * @return SubscriptionHistory + */ + public function setGroup(\Civi\Contact\Group $group = null) { + $this->group = $group; + return $this; + } + + /** + * Get group + * + * @return \Civi\Contact\Group + */ + public function getGroup() { + return $this->group; + } + + /** + * Set date + * + * @param datetime $date + * @return SubscriptionHistory + */ + public function setDate($date) { + $this->date = $date; + return $this; + } + + /** + * Get date + * + * @return datetime + */ + public function getDate() { + return $this->date; + } + + /** + * Set method + * + * @param string $method + * @return SubscriptionHistory + */ + public function setMethod($method) { + $this->method = $method; + return $this; + } + + /** + * Get method + * + * @return string + */ + public function getMethod() { + return $this->method; + } + + /** + * Set status + * + * @param string $status + * @return SubscriptionHistory + */ + public function setStatus($status) { + $this->status = $status; + return $this; + } + + /** + * Get status + * + * @return string + */ + public function getStatus() { + return $this->status; + } + + /** + * Set tracking + * + * @param string $tracking + * @return SubscriptionHistory + */ + public function setTracking($tracking) { + $this->tracking = $tracking; + return $this; + } + + /** + * Get tracking + * + * @return string + */ + public function getTracking() { + return $this->tracking; + } + +} + diff --git a/Civi/Contribute/Contribution.php b/Civi/Contribute/Contribution.php new file mode 100644 index 0000000000..ab847cfccc --- /dev/null +++ b/Civi/Contribute/Contribution.php @@ -0,0 +1,768 @@ +id; + } + + /** + * Set contact + * + * @param \Civi\Contact\Contact $contact + * @return Contribution + */ + public function setContact(\Civi\Contact\Contact $contact = null) { + $this->contact = $contact; + return $this; + } + + /** + * Get contact + * + * @return \Civi\Contact\Contact + */ + public function getContact() { + return $this->contact; + } + + /** + * Set financialType + * + * @param \Civi\Financial\FinancialType $financialType + * @return Contribution + */ + public function setFinancialType(\Civi\Financial\FinancialType $financialType = null) { + $this->financialType = $financialType; + return $this; + } + + /** + * Get financialType + * + * @return \Civi\Financial\FinancialType + */ + public function getFinancialType() { + return $this->financialType; + } + + /** + * Set contributionPage + * + * @param \Civi\Contribute\ContributionPage $contributionPage + * @return Contribution + */ + public function setContributionPage(\Civi\Contribute\ContributionPage $contributionPage = null) { + $this->contributionPage = $contributionPage; + return $this; + } + + /** + * Get contributionPage + * + * @return \Civi\Contribute\ContributionPage + */ + public function getContributionPage() { + return $this->contributionPage; + } + + /** + * Set paymentInstrumentId + * + * @param integer $paymentInstrumentId + * @return Contribution + */ + public function setPaymentInstrumentId($paymentInstrumentId) { + $this->paymentInstrumentId = $paymentInstrumentId; + return $this; + } + + /** + * Get paymentInstrumentId + * + * @return integer + */ + public function getPaymentInstrumentId() { + return $this->paymentInstrumentId; + } + + /** + * Set receiveDate + * + * @param datetime $receiveDate + * @return Contribution + */ + public function setReceiveDate($receiveDate) { + $this->receiveDate = $receiveDate; + return $this; + } + + /** + * Get receiveDate + * + * @return datetime + */ + public function getReceiveDate() { + return $this->receiveDate; + } + + /** + * Set nonDeductibleAmount + * + * @param float $nonDeductibleAmount + * @return Contribution + */ + public function setNonDeductibleAmount($nonDeductibleAmount) { + $this->nonDeductibleAmount = $nonDeductibleAmount; + return $this; + } + + /** + * Get nonDeductibleAmount + * + * @return float + */ + public function getNonDeductibleAmount() { + return $this->nonDeductibleAmount; + } + + /** + * Set totalAmount + * + * @param float $totalAmount + * @return Contribution + */ + public function setTotalAmount($totalAmount) { + $this->totalAmount = $totalAmount; + return $this; + } + + /** + * Get totalAmount + * + * @return float + */ + public function getTotalAmount() { + return $this->totalAmount; + } + + /** + * Set feeAmount + * + * @param float $feeAmount + * @return Contribution + */ + public function setFeeAmount($feeAmount) { + $this->feeAmount = $feeAmount; + return $this; + } + + /** + * Get feeAmount + * + * @return float + */ + public function getFeeAmount() { + return $this->feeAmount; + } + + /** + * Set netAmount + * + * @param float $netAmount + * @return Contribution + */ + public function setNetAmount($netAmount) { + $this->netAmount = $netAmount; + return $this; + } + + /** + * Get netAmount + * + * @return float + */ + public function getNetAmount() { + return $this->netAmount; + } + + /** + * Set trxnId + * + * @param string $trxnId + * @return Contribution + */ + public function setTrxnId($trxnId) { + $this->trxnId = $trxnId; + return $this; + } + + /** + * Get trxnId + * + * @return string + */ + public function getTrxnId() { + return $this->trxnId; + } + + /** + * Set invoiceId + * + * @param string $invoiceId + * @return Contribution + */ + public function setInvoiceId($invoiceId) { + $this->invoiceId = $invoiceId; + return $this; + } + + /** + * Get invoiceId + * + * @return string + */ + public function getInvoiceId() { + return $this->invoiceId; + } + + /** + * Set currency + * + * @param string $currency + * @return Contribution + */ + public function setCurrency($currency) { + $this->currency = $currency; + return $this; + } + + /** + * Get currency + * + * @return string + */ + public function getCurrency() { + return $this->currency; + } + + /** + * Set cancelDate + * + * @param datetime $cancelDate + * @return Contribution + */ + public function setCancelDate($cancelDate) { + $this->cancelDate = $cancelDate; + return $this; + } + + /** + * Get cancelDate + * + * @return datetime + */ + public function getCancelDate() { + return $this->cancelDate; + } + + /** + * Set cancelReason + * + * @param text $cancelReason + * @return Contribution + */ + public function setCancelReason($cancelReason) { + $this->cancelReason = $cancelReason; + return $this; + } + + /** + * Get cancelReason + * + * @return text + */ + public function getCancelReason() { + return $this->cancelReason; + } + + /** + * Set receiptDate + * + * @param datetime $receiptDate + * @return Contribution + */ + public function setReceiptDate($receiptDate) { + $this->receiptDate = $receiptDate; + return $this; + } + + /** + * Get receiptDate + * + * @return datetime + */ + public function getReceiptDate() { + return $this->receiptDate; + } + + /** + * Set thankyouDate + * + * @param datetime $thankyouDate + * @return Contribution + */ + public function setThankyouDate($thankyouDate) { + $this->thankyouDate = $thankyouDate; + return $this; + } + + /** + * Get thankyouDate + * + * @return datetime + */ + public function getThankyouDate() { + return $this->thankyouDate; + } + + /** + * Set source + * + * @param string $source + * @return Contribution + */ + public function setSource($source) { + $this->source = $source; + return $this; + } + + /** + * Get source + * + * @return string + */ + public function getSource() { + return $this->source; + } + + /** + * Set amountLevel + * + * @param text $amountLevel + * @return Contribution + */ + public function setAmountLevel($amountLevel) { + $this->amountLevel = $amountLevel; + return $this; + } + + /** + * Get amountLevel + * + * @return text + */ + public function getAmountLevel() { + return $this->amountLevel; + } + + /** + * Set contributionRecur + * + * @param \Civi\Contribute\ContributionRecur $contributionRecur + * @return Contribution + */ + public function setContributionRecur(\Civi\Contribute\ContributionRecur $contributionRecur = null) { + $this->contributionRecur = $contributionRecur; + return $this; + } + + /** + * Get contributionRecur + * + * @return \Civi\Contribute\ContributionRecur + */ + public function getContributionRecur() { + return $this->contributionRecur; + } + + /** + * Set isTest + * + * @param boolean $isTest + * @return Contribution + */ + public function setIsTest($isTest) { + $this->isTest = $isTest; + return $this; + } + + /** + * Get isTest + * + * @return boolean + */ + public function getIsTest() { + return $this->isTest; + } + + /** + * Set isPayLater + * + * @param boolean $isPayLater + * @return Contribution + */ + public function setIsPayLater($isPayLater) { + $this->isPayLater = $isPayLater; + return $this; + } + + /** + * Get isPayLater + * + * @return boolean + */ + public function getIsPayLater() { + return $this->isPayLater; + } + + /** + * Set contributionStatusId + * + * @param integer $contributionStatusId + * @return Contribution + */ + public function setContributionStatusId($contributionStatusId) { + $this->contributionStatusId = $contributionStatusId; + return $this; + } + + /** + * Get contributionStatusId + * + * @return integer + */ + public function getContributionStatusId() { + return $this->contributionStatusId; + } + + /** + * Set address + * + * @param \Civi\Core\Address $address + * @return Contribution + */ + public function setAddress(\Civi\Core\Address $address = null) { + $this->address = $address; + return $this; + } + + /** + * Get address + * + * @return \Civi\Core\Address + */ + public function getAddress() { + return $this->address; + } + + /** + * Set checkNumber + * + * @param string $checkNumber + * @return Contribution + */ + public function setCheckNumber($checkNumber) { + $this->checkNumber = $checkNumber; + return $this; + } + + /** + * Get checkNumber + * + * @return string + */ + public function getCheckNumber() { + return $this->checkNumber; + } + + /** + * Set campaign + * + * @param \Civi\Campaign\Campaign $campaign + * @return Contribution + */ + public function setCampaign(\Civi\Campaign\Campaign $campaign = null) { + $this->campaign = $campaign; + return $this; + } + + /** + * Get campaign + * + * @return \Civi\Campaign\Campaign + */ + public function getCampaign() { + return $this->campaign; + } + +} + diff --git a/Civi/Contribute/ContributionPage.php b/Civi/Contribute/ContributionPage.php new file mode 100644 index 0000000000..57774fe41d --- /dev/null +++ b/Civi/Contribute/ContributionPage.php @@ -0,0 +1,1328 @@ +id; + } + + /** + * Set title + * + * @param string $title + * @return ContributionPage + */ + public function setTitle($title) { + $this->title = $title; + return $this; + } + + /** + * Get title + * + * @return string + */ + public function getTitle() { + return $this->title; + } + + /** + * Set introText + * + * @param text $introText + * @return ContributionPage + */ + public function setIntroText($introText) { + $this->introText = $introText; + return $this; + } + + /** + * Get introText + * + * @return text + */ + public function getIntroText() { + return $this->introText; + } + + /** + * Set financialType + * + * @param \Civi\Financial\FinancialType $financialType + * @return ContributionPage + */ + public function setFinancialType(\Civi\Financial\FinancialType $financialType = null) { + $this->financialType = $financialType; + return $this; + } + + /** + * Get financialType + * + * @return \Civi\Financial\FinancialType + */ + public function getFinancialType() { + return $this->financialType; + } + + /** + * Set paymentProcessor + * + * @param string $paymentProcessor + * @return ContributionPage + */ + public function setPaymentProcessor($paymentProcessor) { + $this->paymentProcessor = $paymentProcessor; + return $this; + } + + /** + * Get paymentProcessor + * + * @return string + */ + public function getPaymentProcessor() { + return $this->paymentProcessor; + } + + /** + * Set isCreditCardOnly + * + * @param boolean $isCreditCardOnly + * @return ContributionPage + */ + public function setIsCreditCardOnly($isCreditCardOnly) { + $this->isCreditCardOnly = $isCreditCardOnly; + return $this; + } + + /** + * Get isCreditCardOnly + * + * @return boolean + */ + public function getIsCreditCardOnly() { + return $this->isCreditCardOnly; + } + + /** + * Set isMonetary + * + * @param boolean $isMonetary + * @return ContributionPage + */ + public function setIsMonetary($isMonetary) { + $this->isMonetary = $isMonetary; + return $this; + } + + /** + * Get isMonetary + * + * @return boolean + */ + public function getIsMonetary() { + return $this->isMonetary; + } + + /** + * Set isRecur + * + * @param boolean $isRecur + * @return ContributionPage + */ + public function setIsRecur($isRecur) { + $this->isRecur = $isRecur; + return $this; + } + + /** + * Get isRecur + * + * @return boolean + */ + public function getIsRecur() { + return $this->isRecur; + } + + /** + * Set isConfirmEnabled + * + * @param boolean $isConfirmEnabled + * @return ContributionPage + */ + public function setIsConfirmEnabled($isConfirmEnabled) { + $this->isConfirmEnabled = $isConfirmEnabled; + return $this; + } + + /** + * Get isConfirmEnabled + * + * @return boolean + */ + public function getIsConfirmEnabled() { + return $this->isConfirmEnabled; + } + + /** + * Set recurFrequencyUnit + * + * @param string $recurFrequencyUnit + * @return ContributionPage + */ + public function setRecurFrequencyUnit($recurFrequencyUnit) { + $this->recurFrequencyUnit = $recurFrequencyUnit; + return $this; + } + + /** + * Get recurFrequencyUnit + * + * @return string + */ + public function getRecurFrequencyUnit() { + return $this->recurFrequencyUnit; + } + + /** + * Set isRecurInterval + * + * @param boolean $isRecurInterval + * @return ContributionPage + */ + public function setIsRecurInterval($isRecurInterval) { + $this->isRecurInterval = $isRecurInterval; + return $this; + } + + /** + * Get isRecurInterval + * + * @return boolean + */ + public function getIsRecurInterval() { + return $this->isRecurInterval; + } + + /** + * Set isRecurInstallments + * + * @param boolean $isRecurInstallments + * @return ContributionPage + */ + public function setIsRecurInstallments($isRecurInstallments) { + $this->isRecurInstallments = $isRecurInstallments; + return $this; + } + + /** + * Get isRecurInstallments + * + * @return boolean + */ + public function getIsRecurInstallments() { + return $this->isRecurInstallments; + } + + /** + * Set isPayLater + * + * @param boolean $isPayLater + * @return ContributionPage + */ + public function setIsPayLater($isPayLater) { + $this->isPayLater = $isPayLater; + return $this; + } + + /** + * Get isPayLater + * + * @return boolean + */ + public function getIsPayLater() { + return $this->isPayLater; + } + + /** + * Set payLaterText + * + * @param text $payLaterText + * @return ContributionPage + */ + public function setPayLaterText($payLaterText) { + $this->payLaterText = $payLaterText; + return $this; + } + + /** + * Get payLaterText + * + * @return text + */ + public function getPayLaterText() { + return $this->payLaterText; + } + + /** + * Set payLaterReceipt + * + * @param text $payLaterReceipt + * @return ContributionPage + */ + public function setPayLaterReceipt($payLaterReceipt) { + $this->payLaterReceipt = $payLaterReceipt; + return $this; + } + + /** + * Get payLaterReceipt + * + * @return text + */ + public function getPayLaterReceipt() { + return $this->payLaterReceipt; + } + + /** + * Set isPartialPayment + * + * @param boolean $isPartialPayment + * @return ContributionPage + */ + public function setIsPartialPayment($isPartialPayment) { + $this->isPartialPayment = $isPartialPayment; + return $this; + } + + /** + * Get isPartialPayment + * + * @return boolean + */ + public function getIsPartialPayment() { + return $this->isPartialPayment; + } + + /** + * Set initialAmountLabel + * + * @param string $initialAmountLabel + * @return ContributionPage + */ + public function setInitialAmountLabel($initialAmountLabel) { + $this->initialAmountLabel = $initialAmountLabel; + return $this; + } + + /** + * Get initialAmountLabel + * + * @return string + */ + public function getInitialAmountLabel() { + return $this->initialAmountLabel; + } + + /** + * Set initialAmountHelpText + * + * @param text $initialAmountHelpText + * @return ContributionPage + */ + public function setInitialAmountHelpText($initialAmountHelpText) { + $this->initialAmountHelpText = $initialAmountHelpText; + return $this; + } + + /** + * Get initialAmountHelpText + * + * @return text + */ + public function getInitialAmountHelpText() { + return $this->initialAmountHelpText; + } + + /** + * Set minInitialAmount + * + * @param float $minInitialAmount + * @return ContributionPage + */ + public function setMinInitialAmount($minInitialAmount) { + $this->minInitialAmount = $minInitialAmount; + return $this; + } + + /** + * Get minInitialAmount + * + * @return float + */ + public function getMinInitialAmount() { + return $this->minInitialAmount; + } + + /** + * Set isAllowOtherAmount + * + * @param boolean $isAllowOtherAmount + * @return ContributionPage + */ + public function setIsAllowOtherAmount($isAllowOtherAmount) { + $this->isAllowOtherAmount = $isAllowOtherAmount; + return $this; + } + + /** + * Get isAllowOtherAmount + * + * @return boolean + */ + public function getIsAllowOtherAmount() { + return $this->isAllowOtherAmount; + } + + /** + * Set defaultAmountId + * + * @param integer $defaultAmountId + * @return ContributionPage + */ + public function setDefaultAmountId($defaultAmountId) { + $this->defaultAmountId = $defaultAmountId; + return $this; + } + + /** + * Get defaultAmountId + * + * @return integer + */ + public function getDefaultAmountId() { + return $this->defaultAmountId; + } + + /** + * Set minAmount + * + * @param float $minAmount + * @return ContributionPage + */ + public function setMinAmount($minAmount) { + $this->minAmount = $minAmount; + return $this; + } + + /** + * Get minAmount + * + * @return float + */ + public function getMinAmount() { + return $this->minAmount; + } + + /** + * Set maxAmount + * + * @param float $maxAmount + * @return ContributionPage + */ + public function setMaxAmount($maxAmount) { + $this->maxAmount = $maxAmount; + return $this; + } + + /** + * Get maxAmount + * + * @return float + */ + public function getMaxAmount() { + return $this->maxAmount; + } + + /** + * Set goalAmount + * + * @param float $goalAmount + * @return ContributionPage + */ + public function setGoalAmount($goalAmount) { + $this->goalAmount = $goalAmount; + return $this; + } + + /** + * Get goalAmount + * + * @return float + */ + public function getGoalAmount() { + return $this->goalAmount; + } + + /** + * Set thankyouTitle + * + * @param string $thankyouTitle + * @return ContributionPage + */ + public function setThankyouTitle($thankyouTitle) { + $this->thankyouTitle = $thankyouTitle; + return $this; + } + + /** + * Get thankyouTitle + * + * @return string + */ + public function getThankyouTitle() { + return $this->thankyouTitle; + } + + /** + * Set thankyouText + * + * @param text $thankyouText + * @return ContributionPage + */ + public function setThankyouText($thankyouText) { + $this->thankyouText = $thankyouText; + return $this; + } + + /** + * Get thankyouText + * + * @return text + */ + public function getThankyouText() { + return $this->thankyouText; + } + + /** + * Set thankyouFooter + * + * @param text $thankyouFooter + * @return ContributionPage + */ + public function setThankyouFooter($thankyouFooter) { + $this->thankyouFooter = $thankyouFooter; + return $this; + } + + /** + * Get thankyouFooter + * + * @return text + */ + public function getThankyouFooter() { + return $this->thankyouFooter; + } + + /** + * Set isForOrganization + * + * @param boolean $isForOrganization + * @return ContributionPage + */ + public function setIsForOrganization($isForOrganization) { + $this->isForOrganization = $isForOrganization; + return $this; + } + + /** + * Get isForOrganization + * + * @return boolean + */ + public function getIsForOrganization() { + return $this->isForOrganization; + } + + /** + * Set forOrganization + * + * @param text $forOrganization + * @return ContributionPage + */ + public function setForOrganization($forOrganization) { + $this->forOrganization = $forOrganization; + return $this; + } + + /** + * Get forOrganization + * + * @return text + */ + public function getForOrganization() { + return $this->forOrganization; + } + + /** + * Set isEmailReceipt + * + * @param boolean $isEmailReceipt + * @return ContributionPage + */ + public function setIsEmailReceipt($isEmailReceipt) { + $this->isEmailReceipt = $isEmailReceipt; + return $this; + } + + /** + * Get isEmailReceipt + * + * @return boolean + */ + public function getIsEmailReceipt() { + return $this->isEmailReceipt; + } + + /** + * Set receiptFromName + * + * @param string $receiptFromName + * @return ContributionPage + */ + public function setReceiptFromName($receiptFromName) { + $this->receiptFromName = $receiptFromName; + return $this; + } + + /** + * Get receiptFromName + * + * @return string + */ + public function getReceiptFromName() { + return $this->receiptFromName; + } + + /** + * Set receiptFromEmail + * + * @param string $receiptFromEmail + * @return ContributionPage + */ + public function setReceiptFromEmail($receiptFromEmail) { + $this->receiptFromEmail = $receiptFromEmail; + return $this; + } + + /** + * Get receiptFromEmail + * + * @return string + */ + public function getReceiptFromEmail() { + return $this->receiptFromEmail; + } + + /** + * Set ccReceipt + * + * @param string $ccReceipt + * @return ContributionPage + */ + public function setCcReceipt($ccReceipt) { + $this->ccReceipt = $ccReceipt; + return $this; + } + + /** + * Get ccReceipt + * + * @return string + */ + public function getCcReceipt() { + return $this->ccReceipt; + } + + /** + * Set bccReceipt + * + * @param string $bccReceipt + * @return ContributionPage + */ + public function setBccReceipt($bccReceipt) { + $this->bccReceipt = $bccReceipt; + return $this; + } + + /** + * Get bccReceipt + * + * @return string + */ + public function getBccReceipt() { + return $this->bccReceipt; + } + + /** + * Set receiptText + * + * @param text $receiptText + * @return ContributionPage + */ + public function setReceiptText($receiptText) { + $this->receiptText = $receiptText; + return $this; + } + + /** + * Get receiptText + * + * @return text + */ + public function getReceiptText() { + return $this->receiptText; + } + + /** + * Set isActive + * + * @param boolean $isActive + * @return ContributionPage + */ + public function setIsActive($isActive) { + $this->isActive = $isActive; + return $this; + } + + /** + * Get isActive + * + * @return boolean + */ + public function getIsActive() { + return $this->isActive; + } + + /** + * Set footerText + * + * @param text $footerText + * @return ContributionPage + */ + public function setFooterText($footerText) { + $this->footerText = $footerText; + return $this; + } + + /** + * Get footerText + * + * @return text + */ + public function getFooterText() { + return $this->footerText; + } + + /** + * Set amountBlockIsActive + * + * @param boolean $amountBlockIsActive + * @return ContributionPage + */ + public function setAmountBlockIsActive($amountBlockIsActive) { + $this->amountBlockIsActive = $amountBlockIsActive; + return $this; + } + + /** + * Get amountBlockIsActive + * + * @return boolean + */ + public function getAmountBlockIsActive() { + return $this->amountBlockIsActive; + } + + /** + * Set honorBlockIsActive + * + * @param boolean $honorBlockIsActive + * @return ContributionPage + */ + public function setHonorBlockIsActive($honorBlockIsActive) { + $this->honorBlockIsActive = $honorBlockIsActive; + return $this; + } + + /** + * Get honorBlockIsActive + * + * @return boolean + */ + public function getHonorBlockIsActive() { + return $this->honorBlockIsActive; + } + + /** + * Set startDate + * + * @param datetime $startDate + * @return ContributionPage + */ + public function setStartDate($startDate) { + $this->startDate = $startDate; + return $this; + } + + /** + * Get startDate + * + * @return datetime + */ + public function getStartDate() { + return $this->startDate; + } + + /** + * Set endDate + * + * @param datetime $endDate + * @return ContributionPage + */ + public function setEndDate($endDate) { + $this->endDate = $endDate; + return $this; + } + + /** + * Get endDate + * + * @return datetime + */ + public function getEndDate() { + return $this->endDate; + } + + /** + * Set created + * + * @param \Civi\Contact\Contact $created + * @return ContributionPage + */ + public function setCreated(\Civi\Contact\Contact $created = null) { + $this->created = $created; + return $this; + } + + /** + * Get created + * + * @return \Civi\Contact\Contact + */ + public function getCreated() { + return $this->created; + } + + /** + * Set createdDate + * + * @param datetime $createdDate + * @return ContributionPage + */ + public function setCreatedDate($createdDate) { + $this->createdDate = $createdDate; + return $this; + } + + /** + * Get createdDate + * + * @return datetime + */ + public function getCreatedDate() { + return $this->createdDate; + } + + /** + * Set currency + * + * @param string $currency + * @return ContributionPage + */ + public function setCurrency($currency) { + $this->currency = $currency; + return $this; + } + + /** + * Get currency + * + * @return string + */ + public function getCurrency() { + return $this->currency; + } + + /** + * Set campaign + * + * @param \Civi\Campaign\Campaign $campaign + * @return ContributionPage + */ + public function setCampaign(\Civi\Campaign\Campaign $campaign = null) { + $this->campaign = $campaign; + return $this; + } + + /** + * Get campaign + * + * @return \Civi\Campaign\Campaign + */ + public function getCampaign() { + return $this->campaign; + } + + /** + * Set isShare + * + * @param boolean $isShare + * @return ContributionPage + */ + public function setIsShare($isShare) { + $this->isShare = $isShare; + return $this; + } + + /** + * Get isShare + * + * @return boolean + */ + public function getIsShare() { + return $this->isShare; + } + +} + diff --git a/Civi/Contribute/ContributionProduct.php b/Civi/Contribute/ContributionProduct.php new file mode 100644 index 0000000000..649edf20f2 --- /dev/null +++ b/Civi/Contribute/ContributionProduct.php @@ -0,0 +1,320 @@ +id; + } + + /** + * Set productId + * + * @param integer $productId + * @return ContributionProduct + */ + public function setProductId($productId) { + $this->productId = $productId; + return $this; + } + + /** + * Get productId + * + * @return integer + */ + public function getProductId() { + return $this->productId; + } + + /** + * Set contribution + * + * @param \Civi\Contribute\Contribution $contribution + * @return ContributionProduct + */ + public function setContribution(\Civi\Contribute\Contribution $contribution = null) { + $this->contribution = $contribution; + return $this; + } + + /** + * Get contribution + * + * @return \Civi\Contribute\Contribution + */ + public function getContribution() { + return $this->contribution; + } + + /** + * Set productOption + * + * @param string $productOption + * @return ContributionProduct + */ + public function setProductOption($productOption) { + $this->productOption = $productOption; + return $this; + } + + /** + * Get productOption + * + * @return string + */ + public function getProductOption() { + return $this->productOption; + } + + /** + * Set quantity + * + * @param int $quantity + * @return ContributionProduct + */ + public function setQuantity($quantity) { + $this->quantity = $quantity; + return $this; + } + + /** + * Get quantity + * + * @return int + */ + public function getQuantity() { + return $this->quantity; + } + + /** + * Set fulfilledDate + * + * @param date $fulfilledDate + * @return ContributionProduct + */ + public function setFulfilledDate($fulfilledDate) { + $this->fulfilledDate = $fulfilledDate; + return $this; + } + + /** + * Get fulfilledDate + * + * @return date + */ + public function getFulfilledDate() { + return $this->fulfilledDate; + } + + /** + * Set startDate + * + * @param date $startDate + * @return ContributionProduct + */ + public function setStartDate($startDate) { + $this->startDate = $startDate; + return $this; + } + + /** + * Get startDate + * + * @return date + */ + public function getStartDate() { + return $this->startDate; + } + + /** + * Set endDate + * + * @param date $endDate + * @return ContributionProduct + */ + public function setEndDate($endDate) { + $this->endDate = $endDate; + return $this; + } + + /** + * Get endDate + * + * @return date + */ + public function getEndDate() { + return $this->endDate; + } + + /** + * Set comment + * + * @param text $comment + * @return ContributionProduct + */ + public function setComment($comment) { + $this->comment = $comment; + return $this; + } + + /** + * Get comment + * + * @return text + */ + public function getComment() { + return $this->comment; + } + + /** + * Set financialType + * + * @param \Civi\Financial\FinancialType $financialType + * @return ContributionProduct + */ + public function setFinancialType(\Civi\Financial\FinancialType $financialType = null) { + $this->financialType = $financialType; + return $this; + } + + /** + * Get financialType + * + * @return \Civi\Financial\FinancialType + */ + public function getFinancialType() { + return $this->financialType; + } + +} + diff --git a/Civi/Contribute/ContributionRecur.php b/Civi/Contribute/ContributionRecur.php new file mode 100644 index 0000000000..17ccb93d79 --- /dev/null +++ b/Civi/Contribute/ContributionRecur.php @@ -0,0 +1,796 @@ +id; + } + + /** + * Set contact + * + * @param \Civi\Contact\Contact $contact + * @return ContributionRecur + */ + public function setContact(\Civi\Contact\Contact $contact = null) { + $this->contact = $contact; + return $this; + } + + /** + * Get contact + * + * @return \Civi\Contact\Contact + */ + public function getContact() { + return $this->contact; + } + + /** + * Set amount + * + * @param float $amount + * @return ContributionRecur + */ + public function setAmount($amount) { + $this->amount = $amount; + return $this; + } + + /** + * Get amount + * + * @return float + */ + public function getAmount() { + return $this->amount; + } + + /** + * Set currency + * + * @param string $currency + * @return ContributionRecur + */ + public function setCurrency($currency) { + $this->currency = $currency; + return $this; + } + + /** + * Get currency + * + * @return string + */ + public function getCurrency() { + return $this->currency; + } + + /** + * Set frequencyUnit + * + * @param string $frequencyUnit + * @return ContributionRecur + */ + public function setFrequencyUnit($frequencyUnit) { + $this->frequencyUnit = $frequencyUnit; + return $this; + } + + /** + * Get frequencyUnit + * + * @return string + */ + public function getFrequencyUnit() { + return $this->frequencyUnit; + } + + /** + * Set frequencyInterval + * + * @param integer $frequencyInterval + * @return ContributionRecur + */ + public function setFrequencyInterval($frequencyInterval) { + $this->frequencyInterval = $frequencyInterval; + return $this; + } + + /** + * Get frequencyInterval + * + * @return integer + */ + public function getFrequencyInterval() { + return $this->frequencyInterval; + } + + /** + * Set installments + * + * @param integer $installments + * @return ContributionRecur + */ + public function setInstallments($installments) { + $this->installments = $installments; + return $this; + } + + /** + * Get installments + * + * @return integer + */ + public function getInstallments() { + return $this->installments; + } + + /** + * Set startDate + * + * @param datetime $startDate + * @return ContributionRecur + */ + public function setStartDate($startDate) { + $this->startDate = $startDate; + return $this; + } + + /** + * Get startDate + * + * @return datetime + */ + public function getStartDate() { + return $this->startDate; + } + + /** + * Set createDate + * + * @param datetime $createDate + * @return ContributionRecur + */ + public function setCreateDate($createDate) { + $this->createDate = $createDate; + return $this; + } + + /** + * Get createDate + * + * @return datetime + */ + public function getCreateDate() { + return $this->createDate; + } + + /** + * Set modifiedDate + * + * @param datetime $modifiedDate + * @return ContributionRecur + */ + public function setModifiedDate($modifiedDate) { + $this->modifiedDate = $modifiedDate; + return $this; + } + + /** + * Get modifiedDate + * + * @return datetime + */ + public function getModifiedDate() { + return $this->modifiedDate; + } + + /** + * Set cancelDate + * + * @param datetime $cancelDate + * @return ContributionRecur + */ + public function setCancelDate($cancelDate) { + $this->cancelDate = $cancelDate; + return $this; + } + + /** + * Get cancelDate + * + * @return datetime + */ + public function getCancelDate() { + return $this->cancelDate; + } + + /** + * Set endDate + * + * @param datetime $endDate + * @return ContributionRecur + */ + public function setEndDate($endDate) { + $this->endDate = $endDate; + return $this; + } + + /** + * Get endDate + * + * @return datetime + */ + public function getEndDate() { + return $this->endDate; + } + + /** + * Set processorId + * + * @param string $processorId + * @return ContributionRecur + */ + public function setProcessorId($processorId) { + $this->processorId = $processorId; + return $this; + } + + /** + * Get processorId + * + * @return string + */ + public function getProcessorId() { + return $this->processorId; + } + + /** + * Set trxnId + * + * @param string $trxnId + * @return ContributionRecur + */ + public function setTrxnId($trxnId) { + $this->trxnId = $trxnId; + return $this; + } + + /** + * Get trxnId + * + * @return string + */ + public function getTrxnId() { + return $this->trxnId; + } + + /** + * Set invoiceId + * + * @param string $invoiceId + * @return ContributionRecur + */ + public function setInvoiceId($invoiceId) { + $this->invoiceId = $invoiceId; + return $this; + } + + /** + * Get invoiceId + * + * @return string + */ + public function getInvoiceId() { + return $this->invoiceId; + } + + /** + * Set contributionStatusId + * + * @param integer $contributionStatusId + * @return ContributionRecur + */ + public function setContributionStatusId($contributionStatusId) { + $this->contributionStatusId = $contributionStatusId; + return $this; + } + + /** + * Get contributionStatusId + * + * @return integer + */ + public function getContributionStatusId() { + return $this->contributionStatusId; + } + + /** + * Set isTest + * + * @param boolean $isTest + * @return ContributionRecur + */ + public function setIsTest($isTest) { + $this->isTest = $isTest; + return $this; + } + + /** + * Get isTest + * + * @return boolean + */ + public function getIsTest() { + return $this->isTest; + } + + /** + * Set cycleDay + * + * @param integer $cycleDay + * @return ContributionRecur + */ + public function setCycleDay($cycleDay) { + $this->cycleDay = $cycleDay; + return $this; + } + + /** + * Get cycleDay + * + * @return integer + */ + public function getCycleDay() { + return $this->cycleDay; + } + + /** + * Set nextSchedContributionDate + * + * @param datetime $nextSchedContributionDate + * @return ContributionRecur + */ + public function setNextSchedContributionDate($nextSchedContributionDate) { + $this->nextSchedContributionDate = $nextSchedContributionDate; + return $this; + } + + /** + * Get nextSchedContributionDate + * + * @return datetime + */ + public function getNextSchedContributionDate() { + return $this->nextSchedContributionDate; + } + + /** + * Set failureCount + * + * @param integer $failureCount + * @return ContributionRecur + */ + public function setFailureCount($failureCount) { + $this->failureCount = $failureCount; + return $this; + } + + /** + * Get failureCount + * + * @return integer + */ + public function getFailureCount() { + return $this->failureCount; + } + + /** + * Set failureRetryDate + * + * @param datetime $failureRetryDate + * @return ContributionRecur + */ + public function setFailureRetryDate($failureRetryDate) { + $this->failureRetryDate = $failureRetryDate; + return $this; + } + + /** + * Get failureRetryDate + * + * @return datetime + */ + public function getFailureRetryDate() { + return $this->failureRetryDate; + } + + /** + * Set autoRenew + * + * @param boolean $autoRenew + * @return ContributionRecur + */ + public function setAutoRenew($autoRenew) { + $this->autoRenew = $autoRenew; + return $this; + } + + /** + * Get autoRenew + * + * @return boolean + */ + public function getAutoRenew() { + return $this->autoRenew; + } + + /** + * Set paymentProcessor + * + * @param \Civi\Financial\PaymentProcessor $paymentProcessor + * @return ContributionRecur + */ + public function setPaymentProcessor(\Civi\Financial\PaymentProcessor $paymentProcessor = null) { + $this->paymentProcessor = $paymentProcessor; + return $this; + } + + /** + * Get paymentProcessor + * + * @return \Civi\Financial\PaymentProcessor + */ + public function getPaymentProcessor() { + return $this->paymentProcessor; + } + + /** + * Set financialType + * + * @param \Civi\Financial\FinancialType $financialType + * @return ContributionRecur + */ + public function setFinancialType(\Civi\Financial\FinancialType $financialType = null) { + $this->financialType = $financialType; + return $this; + } + + /** + * Get financialType + * + * @return \Civi\Financial\FinancialType + */ + public function getFinancialType() { + return $this->financialType; + } + + /** + * Set paymentInstrumentId + * + * @param integer $paymentInstrumentId + * @return ContributionRecur + */ + public function setPaymentInstrumentId($paymentInstrumentId) { + $this->paymentInstrumentId = $paymentInstrumentId; + return $this; + } + + /** + * Get paymentInstrumentId + * + * @return integer + */ + public function getPaymentInstrumentId() { + return $this->paymentInstrumentId; + } + + /** + * Set campaign + * + * @param \Civi\Campaign\Campaign $campaign + * @return ContributionRecur + */ + public function setCampaign(\Civi\Campaign\Campaign $campaign = null) { + $this->campaign = $campaign; + return $this; + } + + /** + * Get campaign + * + * @return \Civi\Campaign\Campaign + */ + public function getCampaign() { + return $this->campaign; + } + + /** + * Set isEmailReceipt + * + * @param boolean $isEmailReceipt + * @return ContributionRecur + */ + public function setIsEmailReceipt($isEmailReceipt) { + $this->isEmailReceipt = $isEmailReceipt; + return $this; + } + + /** + * Get isEmailReceipt + * + * @return boolean + */ + public function getIsEmailReceipt() { + return $this->isEmailReceipt; + } + +} + diff --git a/Civi/Contribute/ContributionSoft.php b/Civi/Contribute/ContributionSoft.php new file mode 100644 index 0000000000..78345c9947 --- /dev/null +++ b/Civi/Contribute/ContributionSoft.php @@ -0,0 +1,320 @@ +id; + } + + /** + * Set contribution + * + * @param \Civi\Contribute\Contribution $contribution + * @return ContributionSoft + */ + public function setContribution(\Civi\Contribute\Contribution $contribution = null) { + $this->contribution = $contribution; + return $this; + } + + /** + * Get contribution + * + * @return \Civi\Contribute\Contribution + */ + public function getContribution() { + return $this->contribution; + } + + /** + * Set contact + * + * @param \Civi\Contact\Contact $contact + * @return ContributionSoft + */ + public function setContact(\Civi\Contact\Contact $contact = null) { + $this->contact = $contact; + return $this; + } + + /** + * Get contact + * + * @return \Civi\Contact\Contact + */ + public function getContact() { + return $this->contact; + } + + /** + * Set amount + * + * @param float $amount + * @return ContributionSoft + */ + public function setAmount($amount) { + $this->amount = $amount; + return $this; + } + + /** + * Get amount + * + * @return float + */ + public function getAmount() { + return $this->amount; + } + + /** + * Set currency + * + * @param string $currency + * @return ContributionSoft + */ + public function setCurrency($currency) { + $this->currency = $currency; + return $this; + } + + /** + * Get currency + * + * @return string + */ + public function getCurrency() { + return $this->currency; + } + + /** + * Set pcp + * + * @param \Civi\PCP\PCP $pcp + * @return ContributionSoft + */ + public function setPcp(\Civi\PCP\PCP $pcp = null) { + $this->pcp = $pcp; + return $this; + } + + /** + * Get pcp + * + * @return \Civi\PCP\PCP + */ + public function getPcp() { + return $this->pcp; + } + + /** + * Set pcpDisplayInRoll + * + * @param boolean $pcpDisplayInRoll + * @return ContributionSoft + */ + public function setPcpDisplayInRoll($pcpDisplayInRoll) { + $this->pcpDisplayInRoll = $pcpDisplayInRoll; + return $this; + } + + /** + * Get pcpDisplayInRoll + * + * @return boolean + */ + public function getPcpDisplayInRoll() { + return $this->pcpDisplayInRoll; + } + + /** + * Set pcpRollNickname + * + * @param string $pcpRollNickname + * @return ContributionSoft + */ + public function setPcpRollNickname($pcpRollNickname) { + $this->pcpRollNickname = $pcpRollNickname; + return $this; + } + + /** + * Get pcpRollNickname + * + * @return string + */ + public function getPcpRollNickname() { + return $this->pcpRollNickname; + } + + /** + * Set pcpPersonalNote + * + * @param string $pcpPersonalNote + * @return ContributionSoft + */ + public function setPcpPersonalNote($pcpPersonalNote) { + $this->pcpPersonalNote = $pcpPersonalNote; + return $this; + } + + /** + * Get pcpPersonalNote + * + * @return string + */ + public function getPcpPersonalNote() { + return $this->pcpPersonalNote; + } + + /** + * Set softCreditTypeId + * + * @param integer $softCreditTypeId + * @return ContributionSoft + */ + public function setSoftCreditTypeId($softCreditTypeId) { + $this->softCreditTypeId = $softCreditTypeId; + return $this; + } + + /** + * Get softCreditTypeId + * + * @return integer + */ + public function getSoftCreditTypeId() { + return $this->softCreditTypeId; + } + +} + diff --git a/Civi/Contribute/Premium.php b/Civi/Contribute/Premium.php new file mode 100644 index 0000000000..d54cd64406 --- /dev/null +++ b/Civi/Contribute/Premium.php @@ -0,0 +1,348 @@ +id; + } + + /** + * Set entityTable + * + * @param string $entityTable + * @return Premium + */ + public function setEntityTable($entityTable) { + $this->entityTable = $entityTable; + return $this; + } + + /** + * Get entityTable + * + * @return string + */ + public function getEntityTable() { + return $this->entityTable; + } + + /** + * Set entityId + * + * @param integer $entityId + * @return Premium + */ + public function setEntityId($entityId) { + $this->entityId = $entityId; + return $this; + } + + /** + * Get entityId + * + * @return integer + */ + public function getEntityId() { + return $this->entityId; + } + + /** + * Set premiumsActive + * + * @param boolean $premiumsActive + * @return Premium + */ + public function setPremiumsActive($premiumsActive) { + $this->premiumsActive = $premiumsActive; + return $this; + } + + /** + * Get premiumsActive + * + * @return boolean + */ + public function getPremiumsActive() { + return $this->premiumsActive; + } + + /** + * Set premiumsIntroTitle + * + * @param string $premiumsIntroTitle + * @return Premium + */ + public function setPremiumsIntroTitle($premiumsIntroTitle) { + $this->premiumsIntroTitle = $premiumsIntroTitle; + return $this; + } + + /** + * Get premiumsIntroTitle + * + * @return string + */ + public function getPremiumsIntroTitle() { + return $this->premiumsIntroTitle; + } + + /** + * Set premiumsIntroText + * + * @param text $premiumsIntroText + * @return Premium + */ + public function setPremiumsIntroText($premiumsIntroText) { + $this->premiumsIntroText = $premiumsIntroText; + return $this; + } + + /** + * Get premiumsIntroText + * + * @return text + */ + public function getPremiumsIntroText() { + return $this->premiumsIntroText; + } + + /** + * Set premiumsContactEmail + * + * @param string $premiumsContactEmail + * @return Premium + */ + public function setPremiumsContactEmail($premiumsContactEmail) { + $this->premiumsContactEmail = $premiumsContactEmail; + return $this; + } + + /** + * Get premiumsContactEmail + * + * @return string + */ + public function getPremiumsContactEmail() { + return $this->premiumsContactEmail; + } + + /** + * Set premiumsContactPhone + * + * @param string $premiumsContactPhone + * @return Premium + */ + public function setPremiumsContactPhone($premiumsContactPhone) { + $this->premiumsContactPhone = $premiumsContactPhone; + return $this; + } + + /** + * Get premiumsContactPhone + * + * @return string + */ + public function getPremiumsContactPhone() { + return $this->premiumsContactPhone; + } + + /** + * Set premiumsDisplayMinContribution + * + * @param boolean $premiumsDisplayMinContribution + * @return Premium + */ + public function setPremiumsDisplayMinContribution($premiumsDisplayMinContribution) { + $this->premiumsDisplayMinContribution = $premiumsDisplayMinContribution; + return $this; + } + + /** + * Get premiumsDisplayMinContribution + * + * @return boolean + */ + public function getPremiumsDisplayMinContribution() { + return $this->premiumsDisplayMinContribution; + } + + /** + * Set premiumsNothankyouLabel + * + * @param string $premiumsNothankyouLabel + * @return Premium + */ + public function setPremiumsNothankyouLabel($premiumsNothankyouLabel) { + $this->premiumsNothankyouLabel = $premiumsNothankyouLabel; + return $this; + } + + /** + * Get premiumsNothankyouLabel + * + * @return string + */ + public function getPremiumsNothankyouLabel() { + return $this->premiumsNothankyouLabel; + } + + /** + * Set premiumsNothankyouPosition + * + * @param integer $premiumsNothankyouPosition + * @return Premium + */ + public function setPremiumsNothankyouPosition($premiumsNothankyouPosition) { + $this->premiumsNothankyouPosition = $premiumsNothankyouPosition; + return $this; + } + + /** + * Get premiumsNothankyouPosition + * + * @return integer + */ + public function getPremiumsNothankyouPosition() { + return $this->premiumsNothankyouPosition; + } + +} + diff --git a/Civi/Contribute/PremiumsProduct.php b/Civi/Contribute/PremiumsProduct.php new file mode 100644 index 0000000000..954af69ee2 --- /dev/null +++ b/Civi/Contribute/PremiumsProduct.php @@ -0,0 +1,180 @@ +id; + } + + /** + * Set premiums + * + * @param \Civi\Contribute\Premium $premiums + * @return PremiumsProduct + */ + public function setPremiums(\Civi\Contribute\Premium $premiums = null) { + $this->premiums = $premiums; + return $this; + } + + /** + * Get premiums + * + * @return \Civi\Contribute\Premium + */ + public function getPremiums() { + return $this->premiums; + } + + /** + * Set product + * + * @param \Civi\Contribute\Product $product + * @return PremiumsProduct + */ + public function setProduct(\Civi\Contribute\Product $product = null) { + $this->product = $product; + return $this; + } + + /** + * Get product + * + * @return \Civi\Contribute\Product + */ + public function getProduct() { + return $this->product; + } + + /** + * Set weight + * + * @param integer $weight + * @return PremiumsProduct + */ + public function setWeight($weight) { + $this->weight = $weight; + return $this; + } + + /** + * Get weight + * + * @return integer + */ + public function getWeight() { + return $this->weight; + } + + /** + * Set financialType + * + * @param \Civi\Financial\FinancialType $financialType + * @return PremiumsProduct + */ + public function setFinancialType(\Civi\Financial\FinancialType $financialType = null) { + $this->financialType = $financialType; + return $this; + } + + /** + * Get financialType + * + * @return \Civi\Financial\FinancialType + */ + public function getFinancialType() { + return $this->financialType; + } + +} + diff --git a/Civi/Contribute/Product.php b/Civi/Contribute/Product.php new file mode 100644 index 0000000000..79a2da12ea --- /dev/null +++ b/Civi/Contribute/Product.php @@ -0,0 +1,572 @@ +id; + } + + /** + * Set name + * + * @param string $name + * @return Product + */ + public function setName($name) { + $this->name = $name; + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() { + return $this->name; + } + + /** + * Set description + * + * @param text $description + * @return Product + */ + public function setDescription($description) { + $this->description = $description; + return $this; + } + + /** + * Get description + * + * @return text + */ + public function getDescription() { + return $this->description; + } + + /** + * Set sku + * + * @param string $sku + * @return Product + */ + public function setSku($sku) { + $this->sku = $sku; + return $this; + } + + /** + * Get sku + * + * @return string + */ + public function getSku() { + return $this->sku; + } + + /** + * Set options + * + * @param text $options + * @return Product + */ + public function setOptions($options) { + $this->options = $options; + return $this; + } + + /** + * Get options + * + * @return text + */ + public function getOptions() { + return $this->options; + } + + /** + * Set image + * + * @param string $image + * @return Product + */ + public function setImage($image) { + $this->image = $image; + return $this; + } + + /** + * Get image + * + * @return string + */ + public function getImage() { + return $this->image; + } + + /** + * Set thumbnail + * + * @param string $thumbnail + * @return Product + */ + public function setThumbnail($thumbnail) { + $this->thumbnail = $thumbnail; + return $this; + } + + /** + * Get thumbnail + * + * @return string + */ + public function getThumbnail() { + return $this->thumbnail; + } + + /** + * Set price + * + * @param float $price + * @return Product + */ + public function setPrice($price) { + $this->price = $price; + return $this; + } + + /** + * Get price + * + * @return float + */ + public function getPrice() { + return $this->price; + } + + /** + * Set currency + * + * @param string $currency + * @return Product + */ + public function setCurrency($currency) { + $this->currency = $currency; + return $this; + } + + /** + * Get currency + * + * @return string + */ + public function getCurrency() { + return $this->currency; + } + + /** + * Set financialType + * + * @param \Civi\Financial\FinancialType $financialType + * @return Product + */ + public function setFinancialType(\Civi\Financial\FinancialType $financialType = null) { + $this->financialType = $financialType; + return $this; + } + + /** + * Get financialType + * + * @return \Civi\Financial\FinancialType + */ + public function getFinancialType() { + return $this->financialType; + } + + /** + * Set minContribution + * + * @param float $minContribution + * @return Product + */ + public function setMinContribution($minContribution) { + $this->minContribution = $minContribution; + return $this; + } + + /** + * Get minContribution + * + * @return float + */ + public function getMinContribution() { + return $this->minContribution; + } + + /** + * Set cost + * + * @param float $cost + * @return Product + */ + public function setCost($cost) { + $this->cost = $cost; + return $this; + } + + /** + * Get cost + * + * @return float + */ + public function getCost() { + return $this->cost; + } + + /** + * Set isActive + * + * @param boolean $isActive + * @return Product + */ + public function setIsActive($isActive) { + $this->isActive = $isActive; + return $this; + } + + /** + * Get isActive + * + * @return boolean + */ + public function getIsActive() { + return $this->isActive; + } + + /** + * Set periodType + * + * @param string $periodType + * @return Product + */ + public function setPeriodType($periodType) { + $this->periodType = $periodType; + return $this; + } + + /** + * Get periodType + * + * @return string + */ + public function getPeriodType() { + return $this->periodType; + } + + /** + * Set fixedPeriodStartDay + * + * @param int $fixedPeriodStartDay + * @return Product + */ + public function setFixedPeriodStartDay($fixedPeriodStartDay) { + $this->fixedPeriodStartDay = $fixedPeriodStartDay; + return $this; + } + + /** + * Get fixedPeriodStartDay + * + * @return int + */ + public function getFixedPeriodStartDay() { + return $this->fixedPeriodStartDay; + } + + /** + * Set durationUnit + * + * @param string $durationUnit + * @return Product + */ + public function setDurationUnit($durationUnit) { + $this->durationUnit = $durationUnit; + return $this; + } + + /** + * Get durationUnit + * + * @return string + */ + public function getDurationUnit() { + return $this->durationUnit; + } + + /** + * Set durationInterval + * + * @param int $durationInterval + * @return Product + */ + public function setDurationInterval($durationInterval) { + $this->durationInterval = $durationInterval; + return $this; + } + + /** + * Get durationInterval + * + * @return int + */ + public function getDurationInterval() { + return $this->durationInterval; + } + + /** + * Set frequencyUnit + * + * @param string $frequencyUnit + * @return Product + */ + public function setFrequencyUnit($frequencyUnit) { + $this->frequencyUnit = $frequencyUnit; + return $this; + } + + /** + * Get frequencyUnit + * + * @return string + */ + public function getFrequencyUnit() { + return $this->frequencyUnit; + } + + /** + * Set frequencyInterval + * + * @param int $frequencyInterval + * @return Product + */ + public function setFrequencyInterval($frequencyInterval) { + $this->frequencyInterval = $frequencyInterval; + return $this; + } + + /** + * Get frequencyInterval + * + * @return int + */ + public function getFrequencyInterval() { + return $this->frequencyInterval; + } + +} + diff --git a/Civi/Contribute/Widget.php b/Civi/Contribute/Widget.php new file mode 100644 index 0000000000..5df8e4fa6e --- /dev/null +++ b/Civi/Contribute/Widget.php @@ -0,0 +1,516 @@ +id; + } + + /** + * Set contributionPage + * + * @param \Civi\Contribute\ContributionPage $contributionPage + * @return Widget + */ + public function setContributionPage(\Civi\Contribute\ContributionPage $contributionPage = null) { + $this->contributionPage = $contributionPage; + return $this; + } + + /** + * Get contributionPage + * + * @return \Civi\Contribute\ContributionPage + */ + public function getContributionPage() { + return $this->contributionPage; + } + + /** + * Set isActive + * + * @param boolean $isActive + * @return Widget + */ + public function setIsActive($isActive) { + $this->isActive = $isActive; + return $this; + } + + /** + * Get isActive + * + * @return boolean + */ + public function getIsActive() { + return $this->isActive; + } + + /** + * Set title + * + * @param string $title + * @return Widget + */ + public function setTitle($title) { + $this->title = $title; + return $this; + } + + /** + * Get title + * + * @return string + */ + public function getTitle() { + return $this->title; + } + + /** + * Set urlLogo + * + * @param string $urlLogo + * @return Widget + */ + public function setUrlLogo($urlLogo) { + $this->urlLogo = $urlLogo; + return $this; + } + + /** + * Get urlLogo + * + * @return string + */ + public function getUrlLogo() { + return $this->urlLogo; + } + + /** + * Set buttonTitle + * + * @param string $buttonTitle + * @return Widget + */ + public function setButtonTitle($buttonTitle) { + $this->buttonTitle = $buttonTitle; + return $this; + } + + /** + * Get buttonTitle + * + * @return string + */ + public function getButtonTitle() { + return $this->buttonTitle; + } + + /** + * Set about + * + * @param text $about + * @return Widget + */ + public function setAbout($about) { + $this->about = $about; + return $this; + } + + /** + * Get about + * + * @return text + */ + public function getAbout() { + return $this->about; + } + + /** + * Set urlHomepage + * + * @param string $urlHomepage + * @return Widget + */ + public function setUrlHomepage($urlHomepage) { + $this->urlHomepage = $urlHomepage; + return $this; + } + + /** + * Get urlHomepage + * + * @return string + */ + public function getUrlHomepage() { + return $this->urlHomepage; + } + + /** + * Set colorTitle + * + * @param string $colorTitle + * @return Widget + */ + public function setColorTitle($colorTitle) { + $this->colorTitle = $colorTitle; + return $this; + } + + /** + * Get colorTitle + * + * @return string + */ + public function getColorTitle() { + return $this->colorTitle; + } + + /** + * Set colorButton + * + * @param string $colorButton + * @return Widget + */ + public function setColorButton($colorButton) { + $this->colorButton = $colorButton; + return $this; + } + + /** + * Get colorButton + * + * @return string + */ + public function getColorButton() { + return $this->colorButton; + } + + /** + * Set colorBar + * + * @param string $colorBar + * @return Widget + */ + public function setColorBar($colorBar) { + $this->colorBar = $colorBar; + return $this; + } + + /** + * Get colorBar + * + * @return string + */ + public function getColorBar() { + return $this->colorBar; + } + + /** + * Set colorMainText + * + * @param string $colorMainText + * @return Widget + */ + public function setColorMainText($colorMainText) { + $this->colorMainText = $colorMainText; + return $this; + } + + /** + * Get colorMainText + * + * @return string + */ + public function getColorMainText() { + return $this->colorMainText; + } + + /** + * Set colorMain + * + * @param string $colorMain + * @return Widget + */ + public function setColorMain($colorMain) { + $this->colorMain = $colorMain; + return $this; + } + + /** + * Get colorMain + * + * @return string + */ + public function getColorMain() { + return $this->colorMain; + } + + /** + * Set colorMainBg + * + * @param string $colorMainBg + * @return Widget + */ + public function setColorMainBg($colorMainBg) { + $this->colorMainBg = $colorMainBg; + return $this; + } + + /** + * Get colorMainBg + * + * @return string + */ + public function getColorMainBg() { + return $this->colorMainBg; + } + + /** + * Set colorBg + * + * @param string $colorBg + * @return Widget + */ + public function setColorBg($colorBg) { + $this->colorBg = $colorBg; + return $this; + } + + /** + * Get colorBg + * + * @return string + */ + public function getColorBg() { + return $this->colorBg; + } + + /** + * Set colorAboutLink + * + * @param string $colorAboutLink + * @return Widget + */ + public function setColorAboutLink($colorAboutLink) { + $this->colorAboutLink = $colorAboutLink; + return $this; + } + + /** + * Get colorAboutLink + * + * @return string + */ + public function getColorAboutLink() { + return $this->colorAboutLink; + } + + /** + * Set colorHomepageLink + * + * @param string $colorHomepageLink + * @return Widget + */ + public function setColorHomepageLink($colorHomepageLink) { + $this->colorHomepageLink = $colorHomepageLink; + return $this; + } + + /** + * Get colorHomepageLink + * + * @return string + */ + public function getColorHomepageLink() { + return $this->colorHomepageLink; + } + +} + diff --git a/Civi/Core/ActionLog.php b/Civi/Core/ActionLog.php new file mode 100644 index 0000000000..791aa32184 --- /dev/null +++ b/Civi/Core/ActionLog.php @@ -0,0 +1,292 @@ +id; + } + + /** + * Set contact + * + * @param \Civi\Contact\Contact $contact + * @return ActionLog + */ + public function setContact(\Civi\Contact\Contact $contact = null) { + $this->contact = $contact; + return $this; + } + + /** + * Get contact + * + * @return \Civi\Contact\Contact + */ + public function getContact() { + return $this->contact; + } + + /** + * Set entityId + * + * @param integer $entityId + * @return ActionLog + */ + public function setEntityId($entityId) { + $this->entityId = $entityId; + return $this; + } + + /** + * Get entityId + * + * @return integer + */ + public function getEntityId() { + return $this->entityId; + } + + /** + * Set entityTable + * + * @param string $entityTable + * @return ActionLog + */ + public function setEntityTable($entityTable) { + $this->entityTable = $entityTable; + return $this; + } + + /** + * Get entityTable + * + * @return string + */ + public function getEntityTable() { + return $this->entityTable; + } + + /** + * Set actionSchedule + * + * @param \Civi\Core\ActionSchedule $actionSchedule + * @return ActionLog + */ + public function setActionSchedule(\Civi\Core\ActionSchedule $actionSchedule = null) { + $this->actionSchedule = $actionSchedule; + return $this; + } + + /** + * Get actionSchedule + * + * @return \Civi\Core\ActionSchedule + */ + public function getActionSchedule() { + return $this->actionSchedule; + } + + /** + * Set actionDateTime + * + * @param datetime $actionDateTime + * @return ActionLog + */ + public function setActionDateTime($actionDateTime) { + $this->actionDateTime = $actionDateTime; + return $this; + } + + /** + * Get actionDateTime + * + * @return datetime + */ + public function getActionDateTime() { + return $this->actionDateTime; + } + + /** + * Set isError + * + * @param boolean $isError + * @return ActionLog + */ + public function setIsError($isError) { + $this->isError = $isError; + return $this; + } + + /** + * Get isError + * + * @return boolean + */ + public function getIsError() { + return $this->isError; + } + + /** + * Set message + * + * @param text $message + * @return ActionLog + */ + public function setMessage($message) { + $this->message = $message; + return $this; + } + + /** + * Get message + * + * @return text + */ + public function getMessage() { + return $this->message; + } + + /** + * Set repetitionNumber + * + * @param integer $repetitionNumber + * @return ActionLog + */ + public function setRepetitionNumber($repetitionNumber) { + $this->repetitionNumber = $repetitionNumber; + return $this; + } + + /** + * Get repetitionNumber + * + * @return integer + */ + public function getRepetitionNumber() { + return $this->repetitionNumber; + } + +} + diff --git a/Civi/Core/ActionMapping.php b/Civi/Core/ActionMapping.php new file mode 100644 index 0000000000..25e9de3c52 --- /dev/null +++ b/Civi/Core/ActionMapping.php @@ -0,0 +1,292 @@ +id; + } + + /** + * Set entity + * + * @param string $entity + * @return ActionMapping + */ + public function setEntity($entity) { + $this->entity = $entity; + return $this; + } + + /** + * Get entity + * + * @return string + */ + public function getEntity() { + return $this->entity; + } + + /** + * Set entityValue + * + * @param string $entityValue + * @return ActionMapping + */ + public function setEntityValue($entityValue) { + $this->entityValue = $entityValue; + return $this; + } + + /** + * Get entityValue + * + * @return string + */ + public function getEntityValue() { + return $this->entityValue; + } + + /** + * Set entityValueLabel + * + * @param string $entityValueLabel + * @return ActionMapping + */ + public function setEntityValueLabel($entityValueLabel) { + $this->entityValueLabel = $entityValueLabel; + return $this; + } + + /** + * Get entityValueLabel + * + * @return string + */ + public function getEntityValueLabel() { + return $this->entityValueLabel; + } + + /** + * Set entityStatus + * + * @param string $entityStatus + * @return ActionMapping + */ + public function setEntityStatus($entityStatus) { + $this->entityStatus = $entityStatus; + return $this; + } + + /** + * Get entityStatus + * + * @return string + */ + public function getEntityStatus() { + return $this->entityStatus; + } + + /** + * Set entityStatusLabel + * + * @param string $entityStatusLabel + * @return ActionMapping + */ + public function setEntityStatusLabel($entityStatusLabel) { + $this->entityStatusLabel = $entityStatusLabel; + return $this; + } + + /** + * Get entityStatusLabel + * + * @return string + */ + public function getEntityStatusLabel() { + return $this->entityStatusLabel; + } + + /** + * Set entityDateStart + * + * @param string $entityDateStart + * @return ActionMapping + */ + public function setEntityDateStart($entityDateStart) { + $this->entityDateStart = $entityDateStart; + return $this; + } + + /** + * Get entityDateStart + * + * @return string + */ + public function getEntityDateStart() { + return $this->entityDateStart; + } + + /** + * Set entityDateEnd + * + * @param string $entityDateEnd + * @return ActionMapping + */ + public function setEntityDateEnd($entityDateEnd) { + $this->entityDateEnd = $entityDateEnd; + return $this; + } + + /** + * Get entityDateEnd + * + * @return string + */ + public function getEntityDateEnd() { + return $this->entityDateEnd; + } + + /** + * Set entityRecipient + * + * @param string $entityRecipient + * @return ActionMapping + */ + public function setEntityRecipient($entityRecipient) { + $this->entityRecipient = $entityRecipient; + return $this; + } + + /** + * Get entityRecipient + * + * @return string + */ + public function getEntityRecipient() { + return $this->entityRecipient; + } + +} + diff --git a/Civi/Core/ActionSchedule.php b/Civi/Core/ActionSchedule.php new file mode 100644 index 0000000000..fa70953fd4 --- /dev/null +++ b/Civi/Core/ActionSchedule.php @@ -0,0 +1,908 @@ +id; + } + + /** + * Set name + * + * @param string $name + * @return ActionSchedule + */ + public function setName($name) { + $this->name = $name; + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() { + return $this->name; + } + + /** + * Set title + * + * @param string $title + * @return ActionSchedule + */ + public function setTitle($title) { + $this->title = $title; + return $this; + } + + /** + * Get title + * + * @return string + */ + public function getTitle() { + return $this->title; + } + + /** + * Set recipient + * + * @param string $recipient + * @return ActionSchedule + */ + public function setRecipient($recipient) { + $this->recipient = $recipient; + return $this; + } + + /** + * Get recipient + * + * @return string + */ + public function getRecipient() { + return $this->recipient; + } + + /** + * Set limitTo + * + * @param boolean $limitTo + * @return ActionSchedule + */ + public function setLimitTo($limitTo) { + $this->limitTo = $limitTo; + return $this; + } + + /** + * Get limitTo + * + * @return boolean + */ + public function getLimitTo() { + return $this->limitTo; + } + + /** + * Set entityValue + * + * @param string $entityValue + * @return ActionSchedule + */ + public function setEntityValue($entityValue) { + $this->entityValue = $entityValue; + return $this; + } + + /** + * Get entityValue + * + * @return string + */ + public function getEntityValue() { + return $this->entityValue; + } + + /** + * Set entityStatus + * + * @param string $entityStatus + * @return ActionSchedule + */ + public function setEntityStatus($entityStatus) { + $this->entityStatus = $entityStatus; + return $this; + } + + /** + * Get entityStatus + * + * @return string + */ + public function getEntityStatus() { + return $this->entityStatus; + } + + /** + * Set startActionOffset + * + * @param integer $startActionOffset + * @return ActionSchedule + */ + public function setStartActionOffset($startActionOffset) { + $this->startActionOffset = $startActionOffset; + return $this; + } + + /** + * Get startActionOffset + * + * @return integer + */ + public function getStartActionOffset() { + return $this->startActionOffset; + } + + /** + * Set startActionUnit + * + * @param string $startActionUnit + * @return ActionSchedule + */ + public function setStartActionUnit($startActionUnit) { + $this->startActionUnit = $startActionUnit; + return $this; + } + + /** + * Get startActionUnit + * + * @return string + */ + public function getStartActionUnit() { + return $this->startActionUnit; + } + + /** + * Set startActionCondition + * + * @param string $startActionCondition + * @return ActionSchedule + */ + public function setStartActionCondition($startActionCondition) { + $this->startActionCondition = $startActionCondition; + return $this; + } + + /** + * Get startActionCondition + * + * @return string + */ + public function getStartActionCondition() { + return $this->startActionCondition; + } + + /** + * Set startActionDate + * + * @param string $startActionDate + * @return ActionSchedule + */ + public function setStartActionDate($startActionDate) { + $this->startActionDate = $startActionDate; + return $this; + } + + /** + * Get startActionDate + * + * @return string + */ + public function getStartActionDate() { + return $this->startActionDate; + } + + /** + * Set isRepeat + * + * @param boolean $isRepeat + * @return ActionSchedule + */ + public function setIsRepeat($isRepeat) { + $this->isRepeat = $isRepeat; + return $this; + } + + /** + * Get isRepeat + * + * @return boolean + */ + public function getIsRepeat() { + return $this->isRepeat; + } + + /** + * Set repetitionFrequencyUnit + * + * @param string $repetitionFrequencyUnit + * @return ActionSchedule + */ + public function setRepetitionFrequencyUnit($repetitionFrequencyUnit) { + $this->repetitionFrequencyUnit = $repetitionFrequencyUnit; + return $this; + } + + /** + * Get repetitionFrequencyUnit + * + * @return string + */ + public function getRepetitionFrequencyUnit() { + return $this->repetitionFrequencyUnit; + } + + /** + * Set repetitionFrequencyInterval + * + * @param integer $repetitionFrequencyInterval + * @return ActionSchedule + */ + public function setRepetitionFrequencyInterval($repetitionFrequencyInterval) { + $this->repetitionFrequencyInterval = $repetitionFrequencyInterval; + return $this; + } + + /** + * Get repetitionFrequencyInterval + * + * @return integer + */ + public function getRepetitionFrequencyInterval() { + return $this->repetitionFrequencyInterval; + } + + /** + * Set endFrequencyUnit + * + * @param string $endFrequencyUnit + * @return ActionSchedule + */ + public function setEndFrequencyUnit($endFrequencyUnit) { + $this->endFrequencyUnit = $endFrequencyUnit; + return $this; + } + + /** + * Get endFrequencyUnit + * + * @return string + */ + public function getEndFrequencyUnit() { + return $this->endFrequencyUnit; + } + + /** + * Set endFrequencyInterval + * + * @param integer $endFrequencyInterval + * @return ActionSchedule + */ + public function setEndFrequencyInterval($endFrequencyInterval) { + $this->endFrequencyInterval = $endFrequencyInterval; + return $this; + } + + /** + * Get endFrequencyInterval + * + * @return integer + */ + public function getEndFrequencyInterval() { + return $this->endFrequencyInterval; + } + + /** + * Set endAction + * + * @param string $endAction + * @return ActionSchedule + */ + public function setEndAction($endAction) { + $this->endAction = $endAction; + return $this; + } + + /** + * Get endAction + * + * @return string + */ + public function getEndAction() { + return $this->endAction; + } + + /** + * Set endDate + * + * @param string $endDate + * @return ActionSchedule + */ + public function setEndDate($endDate) { + $this->endDate = $endDate; + return $this; + } + + /** + * Get endDate + * + * @return string + */ + public function getEndDate() { + return $this->endDate; + } + + /** + * Set isActive + * + * @param boolean $isActive + * @return ActionSchedule + */ + public function setIsActive($isActive) { + $this->isActive = $isActive; + return $this; + } + + /** + * Get isActive + * + * @return boolean + */ + public function getIsActive() { + return $this->isActive; + } + + /** + * Set recipientManual + * + * @param string $recipientManual + * @return ActionSchedule + */ + public function setRecipientManual($recipientManual) { + $this->recipientManual = $recipientManual; + return $this; + } + + /** + * Get recipientManual + * + * @return string + */ + public function getRecipientManual() { + return $this->recipientManual; + } + + /** + * Set recipientListing + * + * @param string $recipientListing + * @return ActionSchedule + */ + public function setRecipientListing($recipientListing) { + $this->recipientListing = $recipientListing; + return $this; + } + + /** + * Get recipientListing + * + * @return string + */ + public function getRecipientListing() { + return $this->recipientListing; + } + + /** + * Set bodyText + * + * @param longtext $bodyText + * @return ActionSchedule + */ + public function setBodyText($bodyText) { + $this->bodyText = $bodyText; + return $this; + } + + /** + * Get bodyText + * + * @return longtext + */ + public function getBodyText() { + return $this->bodyText; + } + + /** + * Set bodyHtml + * + * @param longtext $bodyHtml + * @return ActionSchedule + */ + public function setBodyHtml($bodyHtml) { + $this->bodyHtml = $bodyHtml; + return $this; + } + + /** + * Get bodyHtml + * + * @return longtext + */ + public function getBodyHtml() { + return $this->bodyHtml; + } + + /** + * Set subject + * + * @param string $subject + * @return ActionSchedule + */ + public function setSubject($subject) { + $this->subject = $subject; + return $this; + } + + /** + * Get subject + * + * @return string + */ + public function getSubject() { + return $this->subject; + } + + /** + * Set recordActivity + * + * @param boolean $recordActivity + * @return ActionSchedule + */ + public function setRecordActivity($recordActivity) { + $this->recordActivity = $recordActivity; + return $this; + } + + /** + * Get recordActivity + * + * @return boolean + */ + public function getRecordActivity() { + return $this->recordActivity; + } + + /** + * Set mapping + * + * @param \Civi\Core\ActionMapping $mapping + * @return ActionSchedule + */ + public function setMapping(\Civi\Core\ActionMapping $mapping = null) { + $this->mapping = $mapping; + return $this; + } + + /** + * Get mapping + * + * @return \Civi\Core\ActionMapping + */ + public function getMapping() { + return $this->mapping; + } + + /** + * Set group + * + * @param \Civi\Contact\Group $group + * @return ActionSchedule + */ + public function setGroup(\Civi\Contact\Group $group = null) { + $this->group = $group; + return $this; + } + + /** + * Get group + * + * @return \Civi\Contact\Group + */ + public function getGroup() { + return $this->group; + } + + /** + * Set msgTemplate + * + * @param \Civi\Core\MessageTemplate $msgTemplate + * @return ActionSchedule + */ + public function setMsgTemplate(\Civi\Core\MessageTemplate $msgTemplate = null) { + $this->msgTemplate = $msgTemplate; + return $this; + } + + /** + * Get msgTemplate + * + * @return \Civi\Core\MessageTemplate + */ + public function getMsgTemplate() { + return $this->msgTemplate; + } + + /** + * Set absoluteDate + * + * @param date $absoluteDate + * @return ActionSchedule + */ + public function setAbsoluteDate($absoluteDate) { + $this->absoluteDate = $absoluteDate; + return $this; + } + + /** + * Get absoluteDate + * + * @return date + */ + public function getAbsoluteDate() { + return $this->absoluteDate; + } + + /** + * Set mode + * + * @param string $mode + * @return ActionSchedule + */ + public function setMode($mode) { + $this->mode = $mode; + return $this; + } + + /** + * Get mode + * + * @return string + */ + public function getMode() { + return $this->mode; + } + + /** + * Set smsProvider + * + * @param \Civi\SMS\Provider $smsProvider + * @return ActionSchedule + */ + public function setSmsProvider(\Civi\SMS\Provider $smsProvider = null) { + $this->smsProvider = $smsProvider; + return $this; + } + + /** + * Get smsProvider + * + * @return \Civi\SMS\Provider + */ + public function getSmsProvider() { + return $this->smsProvider; + } + +} + diff --git a/Civi/Core/Address.php b/Civi/Core/Address.php new file mode 100644 index 0000000000..cf1d554fef --- /dev/null +++ b/Civi/Core/Address.php @@ -0,0 +1,852 @@ +id; + } + + /** + * Set contact + * + * @param \Civi\Contact\Contact $contact + * @return Address + */ + public function setContact(\Civi\Contact\Contact $contact = null) { + $this->contact = $contact; + return $this; + } + + /** + * Get contact + * + * @return \Civi\Contact\Contact + */ + public function getContact() { + return $this->contact; + } + + /** + * Set locationTypeId + * + * @param integer $locationTypeId + * @return Address + */ + public function setLocationTypeId($locationTypeId) { + $this->locationTypeId = $locationTypeId; + return $this; + } + + /** + * Get locationTypeId + * + * @return integer + */ + public function getLocationTypeId() { + return $this->locationTypeId; + } + + /** + * Set isPrimary + * + * @param boolean $isPrimary + * @return Address + */ + public function setIsPrimary($isPrimary) { + $this->isPrimary = $isPrimary; + return $this; + } + + /** + * Get isPrimary + * + * @return boolean + */ + public function getIsPrimary() { + return $this->isPrimary; + } + + /** + * Set isBilling + * + * @param boolean $isBilling + * @return Address + */ + public function setIsBilling($isBilling) { + $this->isBilling = $isBilling; + return $this; + } + + /** + * Get isBilling + * + * @return boolean + */ + public function getIsBilling() { + return $this->isBilling; + } + + /** + * Set streetAddress + * + * @param string $streetAddress + * @return Address + */ + public function setStreetAddress($streetAddress) { + $this->streetAddress = $streetAddress; + return $this; + } + + /** + * Get streetAddress + * + * @return string + */ + public function getStreetAddress() { + return $this->streetAddress; + } + + /** + * Set streetNumber + * + * @param int $streetNumber + * @return Address + */ + public function setStreetNumber($streetNumber) { + $this->streetNumber = $streetNumber; + return $this; + } + + /** + * Get streetNumber + * + * @return int + */ + public function getStreetNumber() { + return $this->streetNumber; + } + + /** + * Set streetNumberSuffix + * + * @param string $streetNumberSuffix + * @return Address + */ + public function setStreetNumberSuffix($streetNumberSuffix) { + $this->streetNumberSuffix = $streetNumberSuffix; + return $this; + } + + /** + * Get streetNumberSuffix + * + * @return string + */ + public function getStreetNumberSuffix() { + return $this->streetNumberSuffix; + } + + /** + * Set streetNumberPredirectional + * + * @param string $streetNumberPredirectional + * @return Address + */ + public function setStreetNumberPredirectional($streetNumberPredirectional) { + $this->streetNumberPredirectional = $streetNumberPredirectional; + return $this; + } + + /** + * Get streetNumberPredirectional + * + * @return string + */ + public function getStreetNumberPredirectional() { + return $this->streetNumberPredirectional; + } + + /** + * Set streetName + * + * @param string $streetName + * @return Address + */ + public function setStreetName($streetName) { + $this->streetName = $streetName; + return $this; + } + + /** + * Get streetName + * + * @return string + */ + public function getStreetName() { + return $this->streetName; + } + + /** + * Set streetType + * + * @param string $streetType + * @return Address + */ + public function setStreetType($streetType) { + $this->streetType = $streetType; + return $this; + } + + /** + * Get streetType + * + * @return string + */ + public function getStreetType() { + return $this->streetType; + } + + /** + * Set streetNumberPostdirectional + * + * @param string $streetNumberPostdirectional + * @return Address + */ + public function setStreetNumberPostdirectional($streetNumberPostdirectional) { + $this->streetNumberPostdirectional = $streetNumberPostdirectional; + return $this; + } + + /** + * Get streetNumberPostdirectional + * + * @return string + */ + public function getStreetNumberPostdirectional() { + return $this->streetNumberPostdirectional; + } + + /** + * Set streetUnit + * + * @param string $streetUnit + * @return Address + */ + public function setStreetUnit($streetUnit) { + $this->streetUnit = $streetUnit; + return $this; + } + + /** + * Get streetUnit + * + * @return string + */ + public function getStreetUnit() { + return $this->streetUnit; + } + + /** + * Set supplementalAddress1 + * + * @param string $supplementalAddress1 + * @return Address + */ + public function setSupplementalAddress1($supplementalAddress1) { + $this->supplementalAddress1 = $supplementalAddress1; + return $this; + } + + /** + * Get supplementalAddress1 + * + * @return string + */ + public function getSupplementalAddress1() { + return $this->supplementalAddress1; + } + + /** + * Set supplementalAddress2 + * + * @param string $supplementalAddress2 + * @return Address + */ + public function setSupplementalAddress2($supplementalAddress2) { + $this->supplementalAddress2 = $supplementalAddress2; + return $this; + } + + /** + * Get supplementalAddress2 + * + * @return string + */ + public function getSupplementalAddress2() { + return $this->supplementalAddress2; + } + + /** + * Set supplementalAddress3 + * + * @param string $supplementalAddress3 + * @return Address + */ + public function setSupplementalAddress3($supplementalAddress3) { + $this->supplementalAddress3 = $supplementalAddress3; + return $this; + } + + /** + * Get supplementalAddress3 + * + * @return string + */ + public function getSupplementalAddress3() { + return $this->supplementalAddress3; + } + + /** + * Set city + * + * @param string $city + * @return Address + */ + public function setCity($city) { + $this->city = $city; + return $this; + } + + /** + * Get city + * + * @return string + */ + public function getCity() { + return $this->city; + } + + /** + * Set county + * + * @param \Civi\Core\County $county + * @return Address + */ + public function setCounty(\Civi\Core\County $county = null) { + $this->county = $county; + return $this; + } + + /** + * Get county + * + * @return \Civi\Core\County + */ + public function getCounty() { + return $this->county; + } + + /** + * Set stateProvince + * + * @param \Civi\Core\StateProvince $stateProvince + * @return Address + */ + public function setStateProvince(\Civi\Core\StateProvince $stateProvince = null) { + $this->stateProvince = $stateProvince; + return $this; + } + + /** + * Get stateProvince + * + * @return \Civi\Core\StateProvince + */ + public function getStateProvince() { + return $this->stateProvince; + } + + /** + * Set postalCodeSuffix + * + * @param string $postalCodeSuffix + * @return Address + */ + public function setPostalCodeSuffix($postalCodeSuffix) { + $this->postalCodeSuffix = $postalCodeSuffix; + return $this; + } + + /** + * Get postalCodeSuffix + * + * @return string + */ + public function getPostalCodeSuffix() { + return $this->postalCodeSuffix; + } + + /** + * Set postalCode + * + * @param string $postalCode + * @return Address + */ + public function setPostalCode($postalCode) { + $this->postalCode = $postalCode; + return $this; + } + + /** + * Get postalCode + * + * @return string + */ + public function getPostalCode() { + return $this->postalCode; + } + + /** + * Set uspsAdc + * + * @param string $uspsAdc + * @return Address + */ + public function setUspsAdc($uspsAdc) { + $this->uspsAdc = $uspsAdc; + return $this; + } + + /** + * Get uspsAdc + * + * @return string + */ + public function getUspsAdc() { + return $this->uspsAdc; + } + + /** + * Set country + * + * @param \Civi\Core\Country $country + * @return Address + */ + public function setCountry(\Civi\Core\Country $country = null) { + $this->country = $country; + return $this; + } + + /** + * Get country + * + * @return \Civi\Core\Country + */ + public function getCountry() { + return $this->country; + } + + /** + * Set geoCode1 + * + * @param float $geoCode1 + * @return Address + */ + public function setGeoCode1($geoCode1) { + $this->geoCode1 = $geoCode1; + return $this; + } + + /** + * Get geoCode1 + * + * @return float + */ + public function getGeoCode1() { + return $this->geoCode1; + } + + /** + * Set geoCode2 + * + * @param float $geoCode2 + * @return Address + */ + public function setGeoCode2($geoCode2) { + $this->geoCode2 = $geoCode2; + return $this; + } + + /** + * Get geoCode2 + * + * @return float + */ + public function getGeoCode2() { + return $this->geoCode2; + } + + /** + * Set manualGeoCode + * + * @param boolean $manualGeoCode + * @return Address + */ + public function setManualGeoCode($manualGeoCode) { + $this->manualGeoCode = $manualGeoCode; + return $this; + } + + /** + * Get manualGeoCode + * + * @return boolean + */ + public function getManualGeoCode() { + return $this->manualGeoCode; + } + + /** + * Set timezone + * + * @param string $timezone + * @return Address + */ + public function setTimezone($timezone) { + $this->timezone = $timezone; + return $this; + } + + /** + * Get timezone + * + * @return string + */ + public function getTimezone() { + return $this->timezone; + } + + /** + * Set name + * + * @param string $name + * @return Address + */ + public function setName($name) { + $this->name = $name; + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() { + return $this->name; + } + + /** + * Set master + * + * @param \Civi\Core\Address $master + * @return Address + */ + public function setMaster(\Civi\Core\Address $master = null) { + $this->master = $master; + return $this; + } + + /** + * Get master + * + * @return \Civi\Core\Address + */ + public function getMaster() { + return $this->master; + } + +} + diff --git a/Civi/Core/AddressFormat.php b/Civi/Core/AddressFormat.php new file mode 100644 index 0000000000..88021d57d9 --- /dev/null +++ b/Civi/Core/AddressFormat.php @@ -0,0 +1,96 @@ +id; + } + + /** + * Set format + * + * @param text $format + * @return AddressFormat + */ + public function setFormat($format) { + $this->format = $format; + return $this; + } + + /** + * Get format + * + * @return text + */ + public function getFormat() { + return $this->format; + } + +} + diff --git a/Civi/Core/Cache.php b/Civi/Core/Cache.php new file mode 100644 index 0000000000..85e2b3b1d6 --- /dev/null +++ b/Civi/Core/Cache.php @@ -0,0 +1,236 @@ +id; + } + + /** + * Set groupName + * + * @param string $groupName + * @return Cache + */ + public function setGroupName($groupName) { + $this->groupName = $groupName; + return $this; + } + + /** + * Get groupName + * + * @return string + */ + public function getGroupName() { + return $this->groupName; + } + + /** + * Set path + * + * @param string $path + * @return Cache + */ + public function setPath($path) { + $this->path = $path; + return $this; + } + + /** + * Get path + * + * @return string + */ + public function getPath() { + return $this->path; + } + + /** + * Set data + * + * @param longtext $data + * @return Cache + */ + public function setData($data) { + $this->data = $data; + return $this; + } + + /** + * Get data + * + * @return longtext + */ + public function getData() { + return $this->data; + } + + /** + * Set component + * + * @param \Civi\Core\Component $component + * @return Cache + */ + public function setComponent(\Civi\Core\Component $component = null) { + $this->component = $component; + return $this; + } + + /** + * Get component + * + * @return \Civi\Core\Component + */ + public function getComponent() { + return $this->component; + } + + /** + * Set createdDate + * + * @param datetime $createdDate + * @return Cache + */ + public function setCreatedDate($createdDate) { + $this->createdDate = $createdDate; + return $this; + } + + /** + * Get createdDate + * + * @return datetime + */ + public function getCreatedDate() { + return $this->createdDate; + } + + /** + * Set expiredDate + * + * @param datetime $expiredDate + * @return Cache + */ + public function setExpiredDate($expiredDate) { + $this->expiredDate = $expiredDate; + return $this; + } + + /** + * Get expiredDate + * + * @return datetime + */ + public function getExpiredDate() { + return $this->expiredDate; + } + +} + diff --git a/Civi/Core/Component.php b/Civi/Core/Component.php new file mode 100644 index 0000000000..9d5296b205 --- /dev/null +++ b/Civi/Core/Component.php @@ -0,0 +1,124 @@ +id; + } + + /** + * Set name + * + * @param string $name + * @return Component + */ + public function setName($name) { + $this->name = $name; + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() { + return $this->name; + } + + /** + * Set namespace + * + * @param string $namespace + * @return Component + */ + public function setNamespace($namespace) { + $this->namespace = $namespace; + return $this; + } + + /** + * Get namespace + * + * @return string + */ + public function getNamespace() { + return $this->namespace; + } + +} + diff --git a/Civi/Core/Country.php b/Civi/Core/Country.php new file mode 100644 index 0000000000..82201c5f93 --- /dev/null +++ b/Civi/Core/Country.php @@ -0,0 +1,292 @@ +id; + } + + /** + * Set name + * + * @param string $name + * @return Country + */ + public function setName($name) { + $this->name = $name; + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() { + return $this->name; + } + + /** + * Set isoCode + * + * @param string $isoCode + * @return Country + */ + public function setIsoCode($isoCode) { + $this->isoCode = $isoCode; + return $this; + } + + /** + * Get isoCode + * + * @return string + */ + public function getIsoCode() { + return $this->isoCode; + } + + /** + * Set countryCode + * + * @param string $countryCode + * @return Country + */ + public function setCountryCode($countryCode) { + $this->countryCode = $countryCode; + return $this; + } + + /** + * Get countryCode + * + * @return string + */ + public function getCountryCode() { + return $this->countryCode; + } + + /** + * Set addressFormat + * + * @param \Civi\Core\AddressFormat $addressFormat + * @return Country + */ + public function setAddressFormat(\Civi\Core\AddressFormat $addressFormat = null) { + $this->addressFormat = $addressFormat; + return $this; + } + + /** + * Get addressFormat + * + * @return \Civi\Core\AddressFormat + */ + public function getAddressFormat() { + return $this->addressFormat; + } + + /** + * Set iddPrefix + * + * @param string $iddPrefix + * @return Country + */ + public function setIddPrefix($iddPrefix) { + $this->iddPrefix = $iddPrefix; + return $this; + } + + /** + * Get iddPrefix + * + * @return string + */ + public function getIddPrefix() { + return $this->iddPrefix; + } + + /** + * Set nddPrefix + * + * @param string $nddPrefix + * @return Country + */ + public function setNddPrefix($nddPrefix) { + $this->nddPrefix = $nddPrefix; + return $this; + } + + /** + * Get nddPrefix + * + * @return string + */ + public function getNddPrefix() { + return $this->nddPrefix; + } + + /** + * Set region + * + * @param \Civi\Core\Worldregion $region + * @return Country + */ + public function setRegion(\Civi\Core\Worldregion $region = null) { + $this->region = $region; + return $this; + } + + /** + * Get region + * + * @return \Civi\Core\Worldregion + */ + public function getRegion() { + return $this->region; + } + + /** + * Set isProvinceAbbreviated + * + * @param boolean $isProvinceAbbreviated + * @return Country + */ + public function setIsProvinceAbbreviated($isProvinceAbbreviated) { + $this->isProvinceAbbreviated = $isProvinceAbbreviated; + return $this; + } + + /** + * Get isProvinceAbbreviated + * + * @return boolean + */ + public function getIsProvinceAbbreviated() { + return $this->isProvinceAbbreviated; + } + +} + diff --git a/Civi/Core/County.php b/Civi/Core/County.php new file mode 100644 index 0000000000..ca20cd22f7 --- /dev/null +++ b/Civi/Core/County.php @@ -0,0 +1,152 @@ +id; + } + + /** + * Set name + * + * @param string $name + * @return County + */ + public function setName($name) { + $this->name = $name; + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() { + return $this->name; + } + + /** + * Set abbreviation + * + * @param string $abbreviation + * @return County + */ + public function setAbbreviation($abbreviation) { + $this->abbreviation = $abbreviation; + return $this; + } + + /** + * Get abbreviation + * + * @return string + */ + public function getAbbreviation() { + return $this->abbreviation; + } + + /** + * Set stateProvince + * + * @param \Civi\Core\StateProvince $stateProvince + * @return County + */ + public function setStateProvince(\Civi\Core\StateProvince $stateProvince = null) { + $this->stateProvince = $stateProvince; + return $this; + } + + /** + * Get stateProvince + * + * @return \Civi\Core\StateProvince + */ + public function getStateProvince() { + return $this->stateProvince; + } + +} + diff --git a/Civi/Core/CustomField.php b/Civi/Core/CustomField.php new file mode 100644 index 0000000000..0f2f1588b8 --- /dev/null +++ b/Civi/Core/CustomField.php @@ -0,0 +1,852 @@ +id; + } + + /** + * Set customGroup + * + * @param \Civi\Core\CustomGroup $customGroup + * @return CustomField + */ + public function setCustomGroup(\Civi\Core\CustomGroup $customGroup = null) { + $this->customGroup = $customGroup; + return $this; + } + + /** + * Get customGroup + * + * @return \Civi\Core\CustomGroup + */ + public function getCustomGroup() { + return $this->customGroup; + } + + /** + * Set name + * + * @param string $name + * @return CustomField + */ + public function setName($name) { + $this->name = $name; + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() { + return $this->name; + } + + /** + * Set label + * + * @param string $label + * @return CustomField + */ + public function setLabel($label) { + $this->label = $label; + return $this; + } + + /** + * Get label + * + * @return string + */ + public function getLabel() { + return $this->label; + } + + /** + * Set dataType + * + * @param string $dataType + * @return CustomField + */ + public function setDataType($dataType) { + $this->dataType = $dataType; + return $this; + } + + /** + * Get dataType + * + * @return string + */ + public function getDataType() { + return $this->dataType; + } + + /** + * Set htmlType + * + * @param string $htmlType + * @return CustomField + */ + public function setHtmlType($htmlType) { + $this->htmlType = $htmlType; + return $this; + } + + /** + * Get htmlType + * + * @return string + */ + public function getHtmlType() { + return $this->htmlType; + } + + /** + * Set defaultValue + * + * @param string $defaultValue + * @return CustomField + */ + public function setDefaultValue($defaultValue) { + $this->defaultValue = $defaultValue; + return $this; + } + + /** + * Get defaultValue + * + * @return string + */ + public function getDefaultValue() { + return $this->defaultValue; + } + + /** + * Set isRequired + * + * @param boolean $isRequired + * @return CustomField + */ + public function setIsRequired($isRequired) { + $this->isRequired = $isRequired; + return $this; + } + + /** + * Get isRequired + * + * @return boolean + */ + public function getIsRequired() { + return $this->isRequired; + } + + /** + * Set isSearchable + * + * @param boolean $isSearchable + * @return CustomField + */ + public function setIsSearchable($isSearchable) { + $this->isSearchable = $isSearchable; + return $this; + } + + /** + * Get isSearchable + * + * @return boolean + */ + public function getIsSearchable() { + return $this->isSearchable; + } + + /** + * Set isSearchRange + * + * @param boolean $isSearchRange + * @return CustomField + */ + public function setIsSearchRange($isSearchRange) { + $this->isSearchRange = $isSearchRange; + return $this; + } + + /** + * Get isSearchRange + * + * @return boolean + */ + public function getIsSearchRange() { + return $this->isSearchRange; + } + + /** + * Set weight + * + * @param int $weight + * @return CustomField + */ + public function setWeight($weight) { + $this->weight = $weight; + return $this; + } + + /** + * Get weight + * + * @return int + */ + public function getWeight() { + return $this->weight; + } + + /** + * Set helpPre + * + * @param text $helpPre + * @return CustomField + */ + public function setHelpPre($helpPre) { + $this->helpPre = $helpPre; + return $this; + } + + /** + * Get helpPre + * + * @return text + */ + public function getHelpPre() { + return $this->helpPre; + } + + /** + * Set helpPost + * + * @param text $helpPost + * @return CustomField + */ + public function setHelpPost($helpPost) { + $this->helpPost = $helpPost; + return $this; + } + + /** + * Get helpPost + * + * @return text + */ + public function getHelpPost() { + return $this->helpPost; + } + + /** + * Set mask + * + * @param string $mask + * @return CustomField + */ + public function setMask($mask) { + $this->mask = $mask; + return $this; + } + + /** + * Get mask + * + * @return string + */ + public function getMask() { + return $this->mask; + } + + /** + * Set attributes + * + * @param string $attributes + * @return CustomField + */ + public function setAttributes($attributes) { + $this->attributes = $attributes; + return $this; + } + + /** + * Get attributes + * + * @return string + */ + public function getAttributes() { + return $this->attributes; + } + + /** + * Set javascript + * + * @param string $javascript + * @return CustomField + */ + public function setJavascript($javascript) { + $this->javascript = $javascript; + return $this; + } + + /** + * Get javascript + * + * @return string + */ + public function getJavascript() { + return $this->javascript; + } + + /** + * Set isActive + * + * @param boolean $isActive + * @return CustomField + */ + public function setIsActive($isActive) { + $this->isActive = $isActive; + return $this; + } + + /** + * Get isActive + * + * @return boolean + */ + public function getIsActive() { + return $this->isActive; + } + + /** + * Set isView + * + * @param boolean $isView + * @return CustomField + */ + public function setIsView($isView) { + $this->isView = $isView; + return $this; + } + + /** + * Get isView + * + * @return boolean + */ + public function getIsView() { + return $this->isView; + } + + /** + * Set optionsPerLine + * + * @param integer $optionsPerLine + * @return CustomField + */ + public function setOptionsPerLine($optionsPerLine) { + $this->optionsPerLine = $optionsPerLine; + return $this; + } + + /** + * Get optionsPerLine + * + * @return integer + */ + public function getOptionsPerLine() { + return $this->optionsPerLine; + } + + /** + * Set textLength + * + * @param integer $textLength + * @return CustomField + */ + public function setTextLength($textLength) { + $this->textLength = $textLength; + return $this; + } + + /** + * Get textLength + * + * @return integer + */ + public function getTextLength() { + return $this->textLength; + } + + /** + * Set startDateYears + * + * @param int $startDateYears + * @return CustomField + */ + public function setStartDateYears($startDateYears) { + $this->startDateYears = $startDateYears; + return $this; + } + + /** + * Get startDateYears + * + * @return int + */ + public function getStartDateYears() { + return $this->startDateYears; + } + + /** + * Set endDateYears + * + * @param int $endDateYears + * @return CustomField + */ + public function setEndDateYears($endDateYears) { + $this->endDateYears = $endDateYears; + return $this; + } + + /** + * Get endDateYears + * + * @return int + */ + public function getEndDateYears() { + return $this->endDateYears; + } + + /** + * Set dateFormat + * + * @param string $dateFormat + * @return CustomField + */ + public function setDateFormat($dateFormat) { + $this->dateFormat = $dateFormat; + return $this; + } + + /** + * Get dateFormat + * + * @return string + */ + public function getDateFormat() { + return $this->dateFormat; + } + + /** + * Set timeFormat + * + * @param integer $timeFormat + * @return CustomField + */ + public function setTimeFormat($timeFormat) { + $this->timeFormat = $timeFormat; + return $this; + } + + /** + * Get timeFormat + * + * @return integer + */ + public function getTimeFormat() { + return $this->timeFormat; + } + + /** + * Set noteColumns + * + * @param integer $noteColumns + * @return CustomField + */ + public function setNoteColumns($noteColumns) { + $this->noteColumns = $noteColumns; + return $this; + } + + /** + * Get noteColumns + * + * @return integer + */ + public function getNoteColumns() { + return $this->noteColumns; + } + + /** + * Set noteRows + * + * @param integer $noteRows + * @return CustomField + */ + public function setNoteRows($noteRows) { + $this->noteRows = $noteRows; + return $this; + } + + /** + * Get noteRows + * + * @return integer + */ + public function getNoteRows() { + return $this->noteRows; + } + + /** + * Set columnName + * + * @param string $columnName + * @return CustomField + */ + public function setColumnName($columnName) { + $this->columnName = $columnName; + return $this; + } + + /** + * Get columnName + * + * @return string + */ + public function getColumnName() { + return $this->columnName; + } + + /** + * Set optionGroupId + * + * @param integer $optionGroupId + * @return CustomField + */ + public function setOptionGroupId($optionGroupId) { + $this->optionGroupId = $optionGroupId; + return $this; + } + + /** + * Get optionGroupId + * + * @return integer + */ + public function getOptionGroupId() { + return $this->optionGroupId; + } + + /** + * Set filter + * + * @param string $filter + * @return CustomField + */ + public function setFilter($filter) { + $this->filter = $filter; + return $this; + } + + /** + * Get filter + * + * @return string + */ + public function getFilter() { + return $this->filter; + } + +} + diff --git a/Civi/Core/CustomGroup.php b/Civi/Core/CustomGroup.php new file mode 100644 index 0000000000..b5f890cab1 --- /dev/null +++ b/Civi/Core/CustomGroup.php @@ -0,0 +1,600 @@ +id; + } + + /** + * Set name + * + * @param string $name + * @return CustomGroup + */ + public function setName($name) { + $this->name = $name; + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() { + return $this->name; + } + + /** + * Set title + * + * @param string $title + * @return CustomGroup + */ + public function setTitle($title) { + $this->title = $title; + return $this; + } + + /** + * Get title + * + * @return string + */ + public function getTitle() { + return $this->title; + } + + /** + * Set extends + * + * @param string $extends + * @return CustomGroup + */ + public function setExtends($extends) { + $this->extends = $extends; + return $this; + } + + /** + * Get extends + * + * @return string + */ + public function getExtends() { + return $this->extends; + } + + /** + * Set extendsEntityColumnId + * + * @param integer $extendsEntityColumnId + * @return CustomGroup + */ + public function setExtendsEntityColumnId($extendsEntityColumnId) { + $this->extendsEntityColumnId = $extendsEntityColumnId; + return $this; + } + + /** + * Get extendsEntityColumnId + * + * @return integer + */ + public function getExtendsEntityColumnId() { + return $this->extendsEntityColumnId; + } + + /** + * Set extendsEntityColumnValue + * + * @param string $extendsEntityColumnValue + * @return CustomGroup + */ + public function setExtendsEntityColumnValue($extendsEntityColumnValue) { + $this->extendsEntityColumnValue = $extendsEntityColumnValue; + return $this; + } + + /** + * Get extendsEntityColumnValue + * + * @return string + */ + public function getExtendsEntityColumnValue() { + return $this->extendsEntityColumnValue; + } + + /** + * Set style + * + * @param string $style + * @return CustomGroup + */ + public function setStyle($style) { + $this->style = $style; + return $this; + } + + /** + * Get style + * + * @return string + */ + public function getStyle() { + return $this->style; + } + + /** + * Set collapseDisplay + * + * @param integer $collapseDisplay + * @return CustomGroup + */ + public function setCollapseDisplay($collapseDisplay) { + $this->collapseDisplay = $collapseDisplay; + return $this; + } + + /** + * Get collapseDisplay + * + * @return integer + */ + public function getCollapseDisplay() { + return $this->collapseDisplay; + } + + /** + * Set helpPre + * + * @param text $helpPre + * @return CustomGroup + */ + public function setHelpPre($helpPre) { + $this->helpPre = $helpPre; + return $this; + } + + /** + * Get helpPre + * + * @return text + */ + public function getHelpPre() { + return $this->helpPre; + } + + /** + * Set helpPost + * + * @param text $helpPost + * @return CustomGroup + */ + public function setHelpPost($helpPost) { + $this->helpPost = $helpPost; + return $this; + } + + /** + * Get helpPost + * + * @return text + */ + public function getHelpPost() { + return $this->helpPost; + } + + /** + * Set weight + * + * @param int $weight + * @return CustomGroup + */ + public function setWeight($weight) { + $this->weight = $weight; + return $this; + } + + /** + * Get weight + * + * @return int + */ + public function getWeight() { + return $this->weight; + } + + /** + * Set isActive + * + * @param boolean $isActive + * @return CustomGroup + */ + public function setIsActive($isActive) { + $this->isActive = $isActive; + return $this; + } + + /** + * Get isActive + * + * @return boolean + */ + public function getIsActive() { + return $this->isActive; + } + + /** + * Set tableName + * + * @param string $tableName + * @return CustomGroup + */ + public function setTableName($tableName) { + $this->tableName = $tableName; + return $this; + } + + /** + * Get tableName + * + * @return string + */ + public function getTableName() { + return $this->tableName; + } + + /** + * Set isMultiple + * + * @param boolean $isMultiple + * @return CustomGroup + */ + public function setIsMultiple($isMultiple) { + $this->isMultiple = $isMultiple; + return $this; + } + + /** + * Get isMultiple + * + * @return boolean + */ + public function getIsMultiple() { + return $this->isMultiple; + } + + /** + * Set minMultiple + * + * @param integer $minMultiple + * @return CustomGroup + */ + public function setMinMultiple($minMultiple) { + $this->minMultiple = $minMultiple; + return $this; + } + + /** + * Get minMultiple + * + * @return integer + */ + public function getMinMultiple() { + return $this->minMultiple; + } + + /** + * Set maxMultiple + * + * @param integer $maxMultiple + * @return CustomGroup + */ + public function setMaxMultiple($maxMultiple) { + $this->maxMultiple = $maxMultiple; + return $this; + } + + /** + * Get maxMultiple + * + * @return integer + */ + public function getMaxMultiple() { + return $this->maxMultiple; + } + + /** + * Set collapseAdvDisplay + * + * @param integer $collapseAdvDisplay + * @return CustomGroup + */ + public function setCollapseAdvDisplay($collapseAdvDisplay) { + $this->collapseAdvDisplay = $collapseAdvDisplay; + return $this; + } + + /** + * Get collapseAdvDisplay + * + * @return integer + */ + public function getCollapseAdvDisplay() { + return $this->collapseAdvDisplay; + } + + /** + * Set created + * + * @param \Civi\Contact\Contact $created + * @return CustomGroup + */ + public function setCreated(\Civi\Contact\Contact $created = null) { + $this->created = $created; + return $this; + } + + /** + * Get created + * + * @return \Civi\Contact\Contact + */ + public function getCreated() { + return $this->created; + } + + /** + * Set createdDate + * + * @param datetime $createdDate + * @return CustomGroup + */ + public function setCreatedDate($createdDate) { + $this->createdDate = $createdDate; + return $this; + } + + /** + * Get createdDate + * + * @return datetime + */ + public function getCreatedDate() { + return $this->createdDate; + } + + /** + * Set isReserved + * + * @param boolean $isReserved + * @return CustomGroup + */ + public function setIsReserved($isReserved) { + $this->isReserved = $isReserved; + return $this; + } + + /** + * Get isReserved + * + * @return boolean + */ + public function getIsReserved() { + return $this->isReserved; + } + +} + diff --git a/Civi/Core/Dashboard.php b/Civi/Core/Dashboard.php new file mode 100644 index 0000000000..d3c6e90d0d --- /dev/null +++ b/Civi/Core/Dashboard.php @@ -0,0 +1,432 @@ +id; + } + + /** + * Set domain + * + * @param \Civi\Core\Domain $domain + * @return Dashboard + */ + public function setDomain(\Civi\Core\Domain $domain = null) { + $this->domain = $domain; + return $this; + } + + /** + * Get domain + * + * @return \Civi\Core\Domain + */ + public function getDomain() { + return $this->domain; + } + + /** + * Set name + * + * @param string $name + * @return Dashboard + */ + public function setName($name) { + $this->name = $name; + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() { + return $this->name; + } + + /** + * Set label + * + * @param string $label + * @return Dashboard + */ + public function setLabel($label) { + $this->label = $label; + return $this; + } + + /** + * Get label + * + * @return string + */ + public function getLabel() { + return $this->label; + } + + /** + * Set url + * + * @param string $url + * @return Dashboard + */ + public function setUrl($url) { + $this->url = $url; + return $this; + } + + /** + * Get url + * + * @return string + */ + public function getUrl() { + return $this->url; + } + + /** + * Set permission + * + * @param string $permission + * @return Dashboard + */ + public function setPermission($permission) { + $this->permission = $permission; + return $this; + } + + /** + * Get permission + * + * @return string + */ + public function getPermission() { + return $this->permission; + } + + /** + * Set permissionOperator + * + * @param string $permissionOperator + * @return Dashboard + */ + public function setPermissionOperator($permissionOperator) { + $this->permissionOperator = $permissionOperator; + return $this; + } + + /** + * Get permissionOperator + * + * @return string + */ + public function getPermissionOperator() { + return $this->permissionOperator; + } + + /** + * Set columnNo + * + * @param boolean $columnNo + * @return Dashboard + */ + public function setColumnNo($columnNo) { + $this->columnNo = $columnNo; + return $this; + } + + /** + * Get columnNo + * + * @return boolean + */ + public function getColumnNo() { + return $this->columnNo; + } + + /** + * Set isMinimized + * + * @param boolean $isMinimized + * @return Dashboard + */ + public function setIsMinimized($isMinimized) { + $this->isMinimized = $isMinimized; + return $this; + } + + /** + * Get isMinimized + * + * @return boolean + */ + public function getIsMinimized() { + return $this->isMinimized; + } + + /** + * Set fullscreenUrl + * + * @param string $fullscreenUrl + * @return Dashboard + */ + public function setFullscreenUrl($fullscreenUrl) { + $this->fullscreenUrl = $fullscreenUrl; + return $this; + } + + /** + * Get fullscreenUrl + * + * @return string + */ + public function getFullscreenUrl() { + return $this->fullscreenUrl; + } + + /** + * Set isFullscreen + * + * @param boolean $isFullscreen + * @return Dashboard + */ + public function setIsFullscreen($isFullscreen) { + $this->isFullscreen = $isFullscreen; + return $this; + } + + /** + * Get isFullscreen + * + * @return boolean + */ + public function getIsFullscreen() { + return $this->isFullscreen; + } + + /** + * Set isActive + * + * @param boolean $isActive + * @return Dashboard + */ + public function setIsActive($isActive) { + $this->isActive = $isActive; + return $this; + } + + /** + * Get isActive + * + * @return boolean + */ + public function getIsActive() { + return $this->isActive; + } + + /** + * Set isReserved + * + * @param boolean $isReserved + * @return Dashboard + */ + public function setIsReserved($isReserved) { + $this->isReserved = $isReserved; + return $this; + } + + /** + * Get isReserved + * + * @return boolean + */ + public function getIsReserved() { + return $this->isReserved; + } + + /** + * Set weight + * + * @param int $weight + * @return Dashboard + */ + public function setWeight($weight) { + $this->weight = $weight; + return $this; + } + + /** + * Get weight + * + * @return int + */ + public function getWeight() { + return $this->weight; + } + +} + diff --git a/Civi/Core/Discount.php b/Civi/Core/Discount.php new file mode 100644 index 0000000000..4b48eea6b4 --- /dev/null +++ b/Civi/Core/Discount.php @@ -0,0 +1,208 @@ +id; + } + + /** + * Set entityTable + * + * @param string $entityTable + * @return Discount + */ + public function setEntityTable($entityTable) { + $this->entityTable = $entityTable; + return $this; + } + + /** + * Get entityTable + * + * @return string + */ + public function getEntityTable() { + return $this->entityTable; + } + + /** + * Set entityId + * + * @param integer $entityId + * @return Discount + */ + public function setEntityId($entityId) { + $this->entityId = $entityId; + return $this; + } + + /** + * Get entityId + * + * @return integer + */ + public function getEntityId() { + return $this->entityId; + } + + /** + * Set priceSet + * + * @param \Civi\Price\PriceSet $priceSet + * @return Discount + */ + public function setPriceSet(\Civi\Price\PriceSet $priceSet = null) { + $this->priceSet = $priceSet; + return $this; + } + + /** + * Get priceSet + * + * @return \Civi\Price\PriceSet + */ + public function getPriceSet() { + return $this->priceSet; + } + + /** + * Set startDate + * + * @param date $startDate + * @return Discount + */ + public function setStartDate($startDate) { + $this->startDate = $startDate; + return $this; + } + + /** + * Get startDate + * + * @return date + */ + public function getStartDate() { + return $this->startDate; + } + + /** + * Set endDate + * + * @param date $endDate + * @return Discount + */ + public function setEndDate($endDate) { + $this->endDate = $endDate; + return $this; + } + + /** + * Get endDate + * + * @return date + */ + public function getEndDate() { + return $this->endDate; + } + +} + diff --git a/Civi/Core/Domain.php b/Civi/Core/Domain.php new file mode 100644 index 0000000000..84ab7392ac --- /dev/null +++ b/Civi/Core/Domain.php @@ -0,0 +1,264 @@ +id; + } + + /** + * Set name + * + * @param string $name + * @return Domain + */ + public function setName($name) { + $this->name = $name; + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() { + return $this->name; + } + + /** + * Set description + * + * @param string $description + * @return Domain + */ + public function setDescription($description) { + $this->description = $description; + return $this; + } + + /** + * Get description + * + * @return string + */ + public function getDescription() { + return $this->description; + } + + /** + * Set configBackend + * + * @param text $configBackend + * @return Domain + */ + public function setConfigBackend($configBackend) { + $this->configBackend = $configBackend; + return $this; + } + + /** + * Get configBackend + * + * @return text + */ + public function getConfigBackend() { + return $this->configBackend; + } + + /** + * Set version + * + * @param string $version + * @return Domain + */ + public function setVersion($version) { + $this->version = $version; + return $this; + } + + /** + * Get version + * + * @return string + */ + public function getVersion() { + return $this->version; + } + + /** + * Set contact + * + * @param \Civi\Contact\Contact $contact + * @return Domain + */ + public function setContact(\Civi\Contact\Contact $contact = null) { + $this->contact = $contact; + return $this; + } + + /** + * Get contact + * + * @return \Civi\Contact\Contact + */ + public function getContact() { + return $this->contact; + } + + /** + * Set locales + * + * @param text $locales + * @return Domain + */ + public function setLocales($locales) { + $this->locales = $locales; + return $this; + } + + /** + * Get locales + * + * @return text + */ + public function getLocales() { + return $this->locales; + } + + /** + * Set localeCustomStrings + * + * @param text $localeCustomStrings + * @return Domain + */ + public function setLocaleCustomStrings($localeCustomStrings) { + $this->localeCustomStrings = $localeCustomStrings; + return $this; + } + + /** + * Get localeCustomStrings + * + * @return text + */ + public function getLocaleCustomStrings() { + return $this->localeCustomStrings; + } + +} + diff --git a/Civi/Core/Email.php b/Civi/Core/Email.php new file mode 100644 index 0000000000..0487f98cd9 --- /dev/null +++ b/Civi/Core/Email.php @@ -0,0 +1,376 @@ +id; + } + + /** + * Set contact + * + * @param \Civi\Contact\Contact $contact + * @return Email + */ + public function setContact(\Civi\Contact\Contact $contact = null) { + $this->contact = $contact; + return $this; + } + + /** + * Get contact + * + * @return \Civi\Contact\Contact + */ + public function getContact() { + return $this->contact; + } + + /** + * Set locationTypeId + * + * @param integer $locationTypeId + * @return Email + */ + public function setLocationTypeId($locationTypeId) { + $this->locationTypeId = $locationTypeId; + return $this; + } + + /** + * Get locationTypeId + * + * @return integer + */ + public function getLocationTypeId() { + return $this->locationTypeId; + } + + /** + * Set email + * + * @param string $email + * @return Email + */ + public function setEmail($email) { + $this->email = $email; + return $this; + } + + /** + * Get email + * + * @return string + */ + public function getEmail() { + return $this->email; + } + + /** + * Set isPrimary + * + * @param boolean $isPrimary + * @return Email + */ + public function setIsPrimary($isPrimary) { + $this->isPrimary = $isPrimary; + return $this; + } + + /** + * Get isPrimary + * + * @return boolean + */ + public function getIsPrimary() { + return $this->isPrimary; + } + + /** + * Set isBilling + * + * @param boolean $isBilling + * @return Email + */ + public function setIsBilling($isBilling) { + $this->isBilling = $isBilling; + return $this; + } + + /** + * Get isBilling + * + * @return boolean + */ + public function getIsBilling() { + return $this->isBilling; + } + + /** + * Set onHold + * + * @param boolean $onHold + * @return Email + */ + public function setOnHold($onHold) { + $this->onHold = $onHold; + return $this; + } + + /** + * Get onHold + * + * @return boolean + */ + public function getOnHold() { + return $this->onHold; + } + + /** + * Set isBulkmail + * + * @param boolean $isBulkmail + * @return Email + */ + public function setIsBulkmail($isBulkmail) { + $this->isBulkmail = $isBulkmail; + return $this; + } + + /** + * Get isBulkmail + * + * @return boolean + */ + public function getIsBulkmail() { + return $this->isBulkmail; + } + + /** + * Set holdDate + * + * @param datetime $holdDate + * @return Email + */ + public function setHoldDate($holdDate) { + $this->holdDate = $holdDate; + return $this; + } + + /** + * Get holdDate + * + * @return datetime + */ + public function getHoldDate() { + return $this->holdDate; + } + + /** + * Set resetDate + * + * @param datetime $resetDate + * @return Email + */ + public function setResetDate($resetDate) { + $this->resetDate = $resetDate; + return $this; + } + + /** + * Get resetDate + * + * @return datetime + */ + public function getResetDate() { + return $this->resetDate; + } + + /** + * Set signatureText + * + * @param text $signatureText + * @return Email + */ + public function setSignatureText($signatureText) { + $this->signatureText = $signatureText; + return $this; + } + + /** + * Get signatureText + * + * @return text + */ + public function getSignatureText() { + return $this->signatureText; + } + + /** + * Set signatureHtml + * + * @param text $signatureHtml + * @return Email + */ + public function setSignatureHtml($signatureHtml) { + $this->signatureHtml = $signatureHtml; + return $this; + } + + /** + * Get signatureHtml + * + * @return text + */ + public function getSignatureHtml() { + return $this->signatureHtml; + } + +} + diff --git a/Civi/Core/EntityFile.php b/Civi/Core/EntityFile.php new file mode 100644 index 0000000000..a24f77b4c0 --- /dev/null +++ b/Civi/Core/EntityFile.php @@ -0,0 +1,152 @@ +id; + } + + /** + * Set entityTable + * + * @param string $entityTable + * @return EntityFile + */ + public function setEntityTable($entityTable) { + $this->entityTable = $entityTable; + return $this; + } + + /** + * Get entityTable + * + * @return string + */ + public function getEntityTable() { + return $this->entityTable; + } + + /** + * Set entityId + * + * @param integer $entityId + * @return EntityFile + */ + public function setEntityId($entityId) { + $this->entityId = $entityId; + return $this; + } + + /** + * Get entityId + * + * @return integer + */ + public function getEntityId() { + return $this->entityId; + } + + /** + * Set file + * + * @param \Civi\Core\File $file + * @return EntityFile + */ + public function setFile(\Civi\Core\File $file = null) { + $this->file = $file; + return $this; + } + + /** + * Get file + * + * @return \Civi\Core\File + */ + public function getFile() { + return $this->file; + } + +} + diff --git a/Civi/Core/EntityTag.php b/Civi/Core/EntityTag.php new file mode 100644 index 0000000000..9a5af36e39 --- /dev/null +++ b/Civi/Core/EntityTag.php @@ -0,0 +1,152 @@ +id; + } + + /** + * Set entityTable + * + * @param string $entityTable + * @return EntityTag + */ + public function setEntityTable($entityTable) { + $this->entityTable = $entityTable; + return $this; + } + + /** + * Get entityTable + * + * @return string + */ + public function getEntityTable() { + return $this->entityTable; + } + + /** + * Set entityId + * + * @param integer $entityId + * @return EntityTag + */ + public function setEntityId($entityId) { + $this->entityId = $entityId; + return $this; + } + + /** + * Get entityId + * + * @return integer + */ + public function getEntityId() { + return $this->entityId; + } + + /** + * Set tag + * + * @param \Civi\Core\Tag $tag + * @return EntityTag + */ + public function setTag(\Civi\Core\Tag $tag = null) { + $this->tag = $tag; + return $this; + } + + /** + * Get tag + * + * @return \Civi\Core\Tag + */ + public function getTag() { + return $this->tag; + } + +} + diff --git a/Civi/Core/Extension.php b/Civi/Core/Extension.php new file mode 100644 index 0000000000..7104a6d6e2 --- /dev/null +++ b/Civi/Core/Extension.php @@ -0,0 +1,264 @@ +id; + } + + /** + * Set type + * + * @param string $type + * @return Extension + */ + public function setType($type) { + $this->type = $type; + return $this; + } + + /** + * Get type + * + * @return string + */ + public function getType() { + return $this->type; + } + + /** + * Set fullName + * + * @param string $fullName + * @return Extension + */ + public function setFullName($fullName) { + $this->fullName = $fullName; + return $this; + } + + /** + * Get fullName + * + * @return string + */ + public function getFullName() { + return $this->fullName; + } + + /** + * Set name + * + * @param string $name + * @return Extension + */ + public function setName($name) { + $this->name = $name; + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() { + return $this->name; + } + + /** + * Set label + * + * @param string $label + * @return Extension + */ + public function setLabel($label) { + $this->label = $label; + return $this; + } + + /** + * Get label + * + * @return string + */ + public function getLabel() { + return $this->label; + } + + /** + * Set file + * + * @param string $file + * @return Extension + */ + public function setFile($file) { + $this->file = $file; + return $this; + } + + /** + * Get file + * + * @return string + */ + public function getFile() { + return $this->file; + } + + /** + * Set schemaVersion + * + * @param string $schemaVersion + * @return Extension + */ + public function setSchemaVersion($schemaVersion) { + $this->schemaVersion = $schemaVersion; + return $this; + } + + /** + * Get schemaVersion + * + * @return string + */ + public function getSchemaVersion() { + return $this->schemaVersion; + } + + /** + * Set isActive + * + * @param boolean $isActive + * @return Extension + */ + public function setIsActive($isActive) { + $this->isActive = $isActive; + return $this; + } + + /** + * Get isActive + * + * @return boolean + */ + public function getIsActive() { + return $this->isActive; + } + +} + diff --git a/Civi/Core/File.php b/Civi/Core/File.php new file mode 100644 index 0000000000..b3fcc19366 --- /dev/null +++ b/Civi/Core/File.php @@ -0,0 +1,236 @@ +id; + } + + /** + * Set fileTypeId + * + * @param integer $fileTypeId + * @return File + */ + public function setFileTypeId($fileTypeId) { + $this->fileTypeId = $fileTypeId; + return $this; + } + + /** + * Get fileTypeId + * + * @return integer + */ + public function getFileTypeId() { + return $this->fileTypeId; + } + + /** + * Set mimeType + * + * @param string $mimeType + * @return File + */ + public function setMimeType($mimeType) { + $this->mimeType = $mimeType; + return $this; + } + + /** + * Get mimeType + * + * @return string + */ + public function getMimeType() { + return $this->mimeType; + } + + /** + * Set uri + * + * @param string $uri + * @return File + */ + public function setUri($uri) { + $this->uri = $uri; + return $this; + } + + /** + * Get uri + * + * @return string + */ + public function getUri() { + return $this->uri; + } + + /** + * Set document + * + * @param mediumblob $document + * @return File + */ + public function setDocument($document) { + $this->document = $document; + return $this; + } + + /** + * Get document + * + * @return mediumblob + */ + public function getDocument() { + return $this->document; + } + + /** + * Set description + * + * @param string $description + * @return File + */ + public function setDescription($description) { + $this->description = $description; + return $this; + } + + /** + * Get description + * + * @return string + */ + public function getDescription() { + return $this->description; + } + + /** + * Set uploadDate + * + * @param datetime $uploadDate + * @return File + */ + public function setUploadDate($uploadDate) { + $this->uploadDate = $uploadDate; + return $this; + } + + /** + * Get uploadDate + * + * @return datetime + */ + public function getUploadDate() { + return $this->uploadDate; + } + +} + diff --git a/Civi/Core/IM.php b/Civi/Core/IM.php new file mode 100644 index 0000000000..612b28ffcf --- /dev/null +++ b/Civi/Core/IM.php @@ -0,0 +1,236 @@ +id; + } + + /** + * Set contact + * + * @param \Civi\Contact\Contact $contact + * @return IM + */ + public function setContact(\Civi\Contact\Contact $contact = null) { + $this->contact = $contact; + return $this; + } + + /** + * Get contact + * + * @return \Civi\Contact\Contact + */ + public function getContact() { + return $this->contact; + } + + /** + * Set locationTypeId + * + * @param integer $locationTypeId + * @return IM + */ + public function setLocationTypeId($locationTypeId) { + $this->locationTypeId = $locationTypeId; + return $this; + } + + /** + * Get locationTypeId + * + * @return integer + */ + public function getLocationTypeId() { + return $this->locationTypeId; + } + + /** + * Set name + * + * @param string $name + * @return IM + */ + public function setName($name) { + $this->name = $name; + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() { + return $this->name; + } + + /** + * Set providerId + * + * @param integer $providerId + * @return IM + */ + public function setProviderId($providerId) { + $this->providerId = $providerId; + return $this; + } + + /** + * Get providerId + * + * @return integer + */ + public function getProviderId() { + return $this->providerId; + } + + /** + * Set isPrimary + * + * @param boolean $isPrimary + * @return IM + */ + public function setIsPrimary($isPrimary) { + $this->isPrimary = $isPrimary; + return $this; + } + + /** + * Get isPrimary + * + * @return boolean + */ + public function getIsPrimary() { + return $this->isPrimary; + } + + /** + * Set isBilling + * + * @param boolean $isBilling + * @return IM + */ + public function setIsBilling($isBilling) { + $this->isBilling = $isBilling; + return $this; + } + + /** + * Get isBilling + * + * @return boolean + */ + public function getIsBilling() { + return $this->isBilling; + } + +} + diff --git a/Civi/Core/Job.php b/Civi/Core/Job.php new file mode 100644 index 0000000000..6420e5b675 --- /dev/null +++ b/Civi/Core/Job.php @@ -0,0 +1,320 @@ +id; + } + + /** + * Set domain + * + * @param \Civi\Core\Domain $domain + * @return Job + */ + public function setDomain(\Civi\Core\Domain $domain = null) { + $this->domain = $domain; + return $this; + } + + /** + * Get domain + * + * @return \Civi\Core\Domain + */ + public function getDomain() { + return $this->domain; + } + + /** + * Set runFrequency + * + * @param string $runFrequency + * @return Job + */ + public function setRunFrequency($runFrequency) { + $this->runFrequency = $runFrequency; + return $this; + } + + /** + * Get runFrequency + * + * @return string + */ + public function getRunFrequency() { + return $this->runFrequency; + } + + /** + * Set lastRun + * + * @param datetime $lastRun + * @return Job + */ + public function setLastRun($lastRun) { + $this->lastRun = $lastRun; + return $this; + } + + /** + * Get lastRun + * + * @return datetime + */ + public function getLastRun() { + return $this->lastRun; + } + + /** + * Set name + * + * @param string $name + * @return Job + */ + public function setName($name) { + $this->name = $name; + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() { + return $this->name; + } + + /** + * Set description + * + * @param string $description + * @return Job + */ + public function setDescription($description) { + $this->description = $description; + return $this; + } + + /** + * Get description + * + * @return string + */ + public function getDescription() { + return $this->description; + } + + /** + * Set apiEntity + * + * @param string $apiEntity + * @return Job + */ + public function setApiEntity($apiEntity) { + $this->apiEntity = $apiEntity; + return $this; + } + + /** + * Get apiEntity + * + * @return string + */ + public function getApiEntity() { + return $this->apiEntity; + } + + /** + * Set apiAction + * + * @param string $apiAction + * @return Job + */ + public function setApiAction($apiAction) { + $this->apiAction = $apiAction; + return $this; + } + + /** + * Get apiAction + * + * @return string + */ + public function getApiAction() { + return $this->apiAction; + } + + /** + * Set parameters + * + * @param text $parameters + * @return Job + */ + public function setParameters($parameters) { + $this->parameters = $parameters; + return $this; + } + + /** + * Get parameters + * + * @return text + */ + public function getParameters() { + return $this->parameters; + } + + /** + * Set isActive + * + * @param boolean $isActive + * @return Job + */ + public function setIsActive($isActive) { + $this->isActive = $isActive; + return $this; + } + + /** + * Get isActive + * + * @return boolean + */ + public function getIsActive() { + return $this->isActive; + } + +} + diff --git a/Civi/Core/JobLog.php b/Civi/Core/JobLog.php new file mode 100644 index 0000000000..9405450cb1 --- /dev/null +++ b/Civi/Core/JobLog.php @@ -0,0 +1,264 @@ +id; + } + + /** + * Set domain + * + * @param \Civi\Core\Domain $domain + * @return JobLog + */ + public function setDomain(\Civi\Core\Domain $domain = null) { + $this->domain = $domain; + return $this; + } + + /** + * Get domain + * + * @return \Civi\Core\Domain + */ + public function getDomain() { + return $this->domain; + } + + /** + * Set runTime + * + * @param timestamp $runTime + * @return JobLog + */ + public function setRunTime($runTime) { + $this->runTime = $runTime; + return $this; + } + + /** + * Get runTime + * + * @return timestamp + */ + public function getRunTime() { + return $this->runTime; + } + + /** + * Set jobId + * + * @param integer $jobId + * @return JobLog + */ + public function setJobId($jobId) { + $this->jobId = $jobId; + return $this; + } + + /** + * Get jobId + * + * @return integer + */ + public function getJobId() { + return $this->jobId; + } + + /** + * Set name + * + * @param string $name + * @return JobLog + */ + public function setName($name) { + $this->name = $name; + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() { + return $this->name; + } + + /** + * Set command + * + * @param string $command + * @return JobLog + */ + public function setCommand($command) { + $this->command = $command; + return $this; + } + + /** + * Get command + * + * @return string + */ + public function getCommand() { + return $this->command; + } + + /** + * Set description + * + * @param string $description + * @return JobLog + */ + public function setDescription($description) { + $this->description = $description; + return $this; + } + + /** + * Get description + * + * @return string + */ + public function getDescription() { + return $this->description; + } + + /** + * Set data + * + * @param text $data + * @return JobLog + */ + public function setData($data) { + $this->data = $data; + return $this; + } + + /** + * Get data + * + * @return text + */ + public function getData() { + return $this->data; + } + +} + diff --git a/Civi/Core/LocBlock.php b/Civi/Core/LocBlock.php new file mode 100644 index 0000000000..cdbd9c4988 --- /dev/null +++ b/Civi/Core/LocBlock.php @@ -0,0 +1,292 @@ +id; + } + + /** + * Set address + * + * @param \Civi\Core\Address $address + * @return LocBlock + */ + public function setAddress(\Civi\Core\Address $address = null) { + $this->address = $address; + return $this; + } + + /** + * Get address + * + * @return \Civi\Core\Address + */ + public function getAddress() { + return $this->address; + } + + /** + * Set email + * + * @param \Civi\Core\Email $email + * @return LocBlock + */ + public function setEmail(\Civi\Core\Email $email = null) { + $this->email = $email; + return $this; + } + + /** + * Get email + * + * @return \Civi\Core\Email + */ + public function getEmail() { + return $this->email; + } + + /** + * Set phone + * + * @param \Civi\Core\Phone $phone + * @return LocBlock + */ + public function setPhone(\Civi\Core\Phone $phone = null) { + $this->phone = $phone; + return $this; + } + + /** + * Get phone + * + * @return \Civi\Core\Phone + */ + public function getPhone() { + return $this->phone; + } + + /** + * Set im + * + * @param \Civi\Core\IM $im + * @return LocBlock + */ + public function setIm(\Civi\Core\IM $im = null) { + $this->im = $im; + return $this; + } + + /** + * Get im + * + * @return \Civi\Core\IM + */ + public function getIm() { + return $this->im; + } + + /** + * Set address2 + * + * @param \Civi\Core\Address $address2 + * @return LocBlock + */ + public function setAddress2(\Civi\Core\Address $address2 = null) { + $this->address2 = $address2; + return $this; + } + + /** + * Get address2 + * + * @return \Civi\Core\Address + */ + public function getAddress2() { + return $this->address2; + } + + /** + * Set email2 + * + * @param \Civi\Core\Email $email2 + * @return LocBlock + */ + public function setEmail2(\Civi\Core\Email $email2 = null) { + $this->email2 = $email2; + return $this; + } + + /** + * Get email2 + * + * @return \Civi\Core\Email + */ + public function getEmail2() { + return $this->email2; + } + + /** + * Set phone2 + * + * @param \Civi\Core\Phone $phone2 + * @return LocBlock + */ + public function setPhone2(\Civi\Core\Phone $phone2 = null) { + $this->phone2 = $phone2; + return $this; + } + + /** + * Get phone2 + * + * @return \Civi\Core\Phone + */ + public function getPhone2() { + return $this->phone2; + } + + /** + * Set im2 + * + * @param \Civi\Core\IM $im2 + * @return LocBlock + */ + public function setIm2(\Civi\Core\IM $im2 = null) { + $this->im2 = $im2; + return $this; + } + + /** + * Get im2 + * + * @return \Civi\Core\IM + */ + public function getIm2() { + return $this->im2; + } + +} + diff --git a/Civi/Core/LocationType.php b/Civi/Core/LocationType.php new file mode 100644 index 0000000000..9958a3faef --- /dev/null +++ b/Civi/Core/LocationType.php @@ -0,0 +1,264 @@ +id; + } + + /** + * Set name + * + * @param string $name + * @return LocationType + */ + public function setName($name) { + $this->name = $name; + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() { + return $this->name; + } + + /** + * Set displayName + * + * @param string $displayName + * @return LocationType + */ + public function setDisplayName($displayName) { + $this->displayName = $displayName; + return $this; + } + + /** + * Get displayName + * + * @return string + */ + public function getDisplayName() { + return $this->displayName; + } + + /** + * Set vcardName + * + * @param string $vcardName + * @return LocationType + */ + public function setVcardName($vcardName) { + $this->vcardName = $vcardName; + return $this; + } + + /** + * Get vcardName + * + * @return string + */ + public function getVcardName() { + return $this->vcardName; + } + + /** + * Set description + * + * @param string $description + * @return LocationType + */ + public function setDescription($description) { + $this->description = $description; + return $this; + } + + /** + * Get description + * + * @return string + */ + public function getDescription() { + return $this->description; + } + + /** + * Set isReserved + * + * @param boolean $isReserved + * @return LocationType + */ + public function setIsReserved($isReserved) { + $this->isReserved = $isReserved; + return $this; + } + + /** + * Get isReserved + * + * @return boolean + */ + public function getIsReserved() { + return $this->isReserved; + } + + /** + * Set isActive + * + * @param boolean $isActive + * @return LocationType + */ + public function setIsActive($isActive) { + $this->isActive = $isActive; + return $this; + } + + /** + * Get isActive + * + * @return boolean + */ + public function getIsActive() { + return $this->isActive; + } + + /** + * Set isDefault + * + * @param boolean $isDefault + * @return LocationType + */ + public function setIsDefault($isDefault) { + $this->isDefault = $isDefault; + return $this; + } + + /** + * Get isDefault + * + * @return boolean + */ + public function getIsDefault() { + return $this->isDefault; + } + +} + diff --git a/Civi/Core/Log.php b/Civi/Core/Log.php new file mode 100644 index 0000000000..806bce8ad2 --- /dev/null +++ b/Civi/Core/Log.php @@ -0,0 +1,208 @@ +id; + } + + /** + * Set entityTable + * + * @param string $entityTable + * @return Log + */ + public function setEntityTable($entityTable) { + $this->entityTable = $entityTable; + return $this; + } + + /** + * Get entityTable + * + * @return string + */ + public function getEntityTable() { + return $this->entityTable; + } + + /** + * Set entityId + * + * @param integer $entityId + * @return Log + */ + public function setEntityId($entityId) { + $this->entityId = $entityId; + return $this; + } + + /** + * Get entityId + * + * @return integer + */ + public function getEntityId() { + return $this->entityId; + } + + /** + * Set data + * + * @param text $data + * @return Log + */ + public function setData($data) { + $this->data = $data; + return $this; + } + + /** + * Get data + * + * @return text + */ + public function getData() { + return $this->data; + } + + /** + * Set modified + * + * @param \Civi\Contact\Contact $modified + * @return Log + */ + public function setModified(\Civi\Contact\Contact $modified = null) { + $this->modified = $modified; + return $this; + } + + /** + * Get modified + * + * @return \Civi\Contact\Contact + */ + public function getModified() { + return $this->modified; + } + + /** + * Set modifiedDate + * + * @param datetime $modifiedDate + * @return Log + */ + public function setModifiedDate($modifiedDate) { + $this->modifiedDate = $modifiedDate; + return $this; + } + + /** + * Get modifiedDate + * + * @return datetime + */ + public function getModifiedDate() { + return $this->modifiedDate; + } + +} + diff --git a/Civi/Core/MailSettings.php b/Civi/Core/MailSettings.php new file mode 100644 index 0000000000..36c8891203 --- /dev/null +++ b/Civi/Core/MailSettings.php @@ -0,0 +1,432 @@ +id; + } + + /** + * Set domainId + * + * @param integer $domainId + * @return MailSettings + */ + public function setDomainId($domainId) { + $this->domainId = $domainId; + return $this; + } + + /** + * Get domainId + * + * @return integer + */ + public function getDomainId() { + return $this->domainId; + } + + /** + * Set name + * + * @param string $name + * @return MailSettings + */ + public function setName($name) { + $this->name = $name; + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() { + return $this->name; + } + + /** + * Set isDefault + * + * @param boolean $isDefault + * @return MailSettings + */ + public function setIsDefault($isDefault) { + $this->isDefault = $isDefault; + return $this; + } + + /** + * Get isDefault + * + * @return boolean + */ + public function getIsDefault() { + return $this->isDefault; + } + + /** + * Set domain + * + * @param string $domain + * @return MailSettings + */ + public function setDomain($domain) { + $this->domain = $domain; + return $this; + } + + /** + * Get domain + * + * @return string + */ + public function getDomain() { + return $this->domain; + } + + /** + * Set localpart + * + * @param string $localpart + * @return MailSettings + */ + public function setLocalpart($localpart) { + $this->localpart = $localpart; + return $this; + } + + /** + * Get localpart + * + * @return string + */ + public function getLocalpart() { + return $this->localpart; + } + + /** + * Set returnPath + * + * @param string $returnPath + * @return MailSettings + */ + public function setReturnPath($returnPath) { + $this->returnPath = $returnPath; + return $this; + } + + /** + * Get returnPath + * + * @return string + */ + public function getReturnPath() { + return $this->returnPath; + } + + /** + * Set protocol + * + * @param string $protocol + * @return MailSettings + */ + public function setProtocol($protocol) { + $this->protocol = $protocol; + return $this; + } + + /** + * Get protocol + * + * @return string + */ + public function getProtocol() { + return $this->protocol; + } + + /** + * Set server + * + * @param string $server + * @return MailSettings + */ + public function setServer($server) { + $this->server = $server; + return $this; + } + + /** + * Get server + * + * @return string + */ + public function getServer() { + return $this->server; + } + + /** + * Set port + * + * @param integer $port + * @return MailSettings + */ + public function setPort($port) { + $this->port = $port; + return $this; + } + + /** + * Get port + * + * @return integer + */ + public function getPort() { + return $this->port; + } + + /** + * Set username + * + * @param string $username + * @return MailSettings + */ + public function setUsername($username) { + $this->username = $username; + return $this; + } + + /** + * Get username + * + * @return string + */ + public function getUsername() { + return $this->username; + } + + /** + * Set password + * + * @param string $password + * @return MailSettings + */ + public function setPassword($password) { + $this->password = $password; + return $this; + } + + /** + * Get password + * + * @return string + */ + public function getPassword() { + return $this->password; + } + + /** + * Set isSsl + * + * @param boolean $isSsl + * @return MailSettings + */ + public function setIsSsl($isSsl) { + $this->isSsl = $isSsl; + return $this; + } + + /** + * Get isSsl + * + * @return boolean + */ + public function getIsSsl() { + return $this->isSsl; + } + + /** + * Set source + * + * @param string $source + * @return MailSettings + */ + public function setSource($source) { + $this->source = $source; + return $this; + } + + /** + * Get source + * + * @return string + */ + public function getSource() { + return $this->source; + } + +} + diff --git a/Civi/Core/Managed.php b/Civi/Core/Managed.php new file mode 100644 index 0000000000..941159b1cc --- /dev/null +++ b/Civi/Core/Managed.php @@ -0,0 +1,180 @@ +id; + } + + /** + * Set module + * + * @param string $module + * @return Managed + */ + public function setModule($module) { + $this->module = $module; + return $this; + } + + /** + * Get module + * + * @return string + */ + public function getModule() { + return $this->module; + } + + /** + * Set name + * + * @param string $name + * @return Managed + */ + public function setName($name) { + $this->name = $name; + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() { + return $this->name; + } + + /** + * Set entityType + * + * @param string $entityType + * @return Managed + */ + public function setEntityType($entityType) { + $this->entityType = $entityType; + return $this; + } + + /** + * Get entityType + * + * @return string + */ + public function getEntityType() { + return $this->entityType; + } + + /** + * Set entityId + * + * @param integer $entityId + * @return Managed + */ + public function setEntityId($entityId) { + $this->entityId = $entityId; + return $this; + } + + /** + * Get entityId + * + * @return integer + */ + public function getEntityId() { + return $this->entityId; + } + +} + diff --git a/Civi/Core/Mapping.php b/Civi/Core/Mapping.php new file mode 100644 index 0000000000..dfe597402c --- /dev/null +++ b/Civi/Core/Mapping.php @@ -0,0 +1,152 @@ +id; + } + + /** + * Set name + * + * @param string $name + * @return Mapping + */ + public function setName($name) { + $this->name = $name; + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() { + return $this->name; + } + + /** + * Set description + * + * @param string $description + * @return Mapping + */ + public function setDescription($description) { + $this->description = $description; + return $this; + } + + /** + * Get description + * + * @return string + */ + public function getDescription() { + return $this->description; + } + + /** + * Set mappingTypeId + * + * @param integer $mappingTypeId + * @return Mapping + */ + public function setMappingTypeId($mappingTypeId) { + $this->mappingTypeId = $mappingTypeId; + return $this; + } + + /** + * Get mappingTypeId + * + * @return integer + */ + public function getMappingTypeId() { + return $this->mappingTypeId; + } + +} + diff --git a/Civi/Core/MappingField.php b/Civi/Core/MappingField.php new file mode 100644 index 0000000000..252aa9489b --- /dev/null +++ b/Civi/Core/MappingField.php @@ -0,0 +1,432 @@ +id; + } + + /** + * Set mapping + * + * @param \Civi\Core\Mapping $mapping + * @return MappingField + */ + public function setMapping(\Civi\Core\Mapping $mapping = null) { + $this->mapping = $mapping; + return $this; + } + + /** + * Get mapping + * + * @return \Civi\Core\Mapping + */ + public function getMapping() { + return $this->mapping; + } + + /** + * Set name + * + * @param string $name + * @return MappingField + */ + public function setName($name) { + $this->name = $name; + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() { + return $this->name; + } + + /** + * Set contactType + * + * @param string $contactType + * @return MappingField + */ + public function setContactType($contactType) { + $this->contactType = $contactType; + return $this; + } + + /** + * Get contactType + * + * @return string + */ + public function getContactType() { + return $this->contactType; + } + + /** + * Set columnNumber + * + * @param integer $columnNumber + * @return MappingField + */ + public function setColumnNumber($columnNumber) { + $this->columnNumber = $columnNumber; + return $this; + } + + /** + * Get columnNumber + * + * @return integer + */ + public function getColumnNumber() { + return $this->columnNumber; + } + + /** + * Set locationType + * + * @param \Civi\Core\LocationType $locationType + * @return MappingField + */ + public function setLocationType(\Civi\Core\LocationType $locationType = null) { + $this->locationType = $locationType; + return $this; + } + + /** + * Get locationType + * + * @return \Civi\Core\LocationType + */ + public function getLocationType() { + return $this->locationType; + } + + /** + * Set phoneTypeId + * + * @param integer $phoneTypeId + * @return MappingField + */ + public function setPhoneTypeId($phoneTypeId) { + $this->phoneTypeId = $phoneTypeId; + return $this; + } + + /** + * Get phoneTypeId + * + * @return integer + */ + public function getPhoneTypeId() { + return $this->phoneTypeId; + } + + /** + * Set imProviderId + * + * @param integer $imProviderId + * @return MappingField + */ + public function setImProviderId($imProviderId) { + $this->imProviderId = $imProviderId; + return $this; + } + + /** + * Get imProviderId + * + * @return integer + */ + public function getImProviderId() { + return $this->imProviderId; + } + + /** + * Set websiteTypeId + * + * @param integer $websiteTypeId + * @return MappingField + */ + public function setWebsiteTypeId($websiteTypeId) { + $this->websiteTypeId = $websiteTypeId; + return $this; + } + + /** + * Get websiteTypeId + * + * @return integer + */ + public function getWebsiteTypeId() { + return $this->websiteTypeId; + } + + /** + * Set relationshipType + * + * @param \Civi\Contact\RelationshipType $relationshipType + * @return MappingField + */ + public function setRelationshipType(\Civi\Contact\RelationshipType $relationshipType = null) { + $this->relationshipType = $relationshipType; + return $this; + } + + /** + * Get relationshipType + * + * @return \Civi\Contact\RelationshipType + */ + public function getRelationshipType() { + return $this->relationshipType; + } + + /** + * Set relationshipDirection + * + * @param string $relationshipDirection + * @return MappingField + */ + public function setRelationshipDirection($relationshipDirection) { + $this->relationshipDirection = $relationshipDirection; + return $this; + } + + /** + * Get relationshipDirection + * + * @return string + */ + public function getRelationshipDirection() { + return $this->relationshipDirection; + } + + /** + * Set grouping + * + * @param integer $grouping + * @return MappingField + */ + public function setGrouping($grouping) { + $this->grouping = $grouping; + return $this; + } + + /** + * Get grouping + * + * @return integer + */ + public function getGrouping() { + return $this->grouping; + } + + /** + * Set operator + * + * @param string $operator + * @return MappingField + */ + public function setOperator($operator) { + $this->operator = $operator; + return $this; + } + + /** + * Get operator + * + * @return string + */ + public function getOperator() { + return $this->operator; + } + + /** + * Set value + * + * @param string $value + * @return MappingField + */ + public function setValue($value) { + $this->value = $value; + return $this; + } + + /** + * Get value + * + * @return string + */ + public function getValue() { + return $this->value; + } + +} + diff --git a/Civi/Core/Menu.php b/Civi/Core/Menu.php new file mode 100644 index 0000000000..40d64ac823 --- /dev/null +++ b/Civi/Core/Menu.php @@ -0,0 +1,628 @@ +id; + } + + /** + * Set domain + * + * @param \Civi\Core\Domain $domain + * @return Menu + */ + public function setDomain(\Civi\Core\Domain $domain = null) { + $this->domain = $domain; + return $this; + } + + /** + * Get domain + * + * @return \Civi\Core\Domain + */ + public function getDomain() { + return $this->domain; + } + + /** + * Set path + * + * @param string $path + * @return Menu + */ + public function setPath($path) { + $this->path = $path; + return $this; + } + + /** + * Get path + * + * @return string + */ + public function getPath() { + return $this->path; + } + + /** + * Set pathArguments + * + * @param text $pathArguments + * @return Menu + */ + public function setPathArguments($pathArguments) { + $this->pathArguments = $pathArguments; + return $this; + } + + /** + * Get pathArguments + * + * @return text + */ + public function getPathArguments() { + return $this->pathArguments; + } + + /** + * Set title + * + * @param string $title + * @return Menu + */ + public function setTitle($title) { + $this->title = $title; + return $this; + } + + /** + * Get title + * + * @return string + */ + public function getTitle() { + return $this->title; + } + + /** + * Set accessCallback + * + * @param string $accessCallback + * @return Menu + */ + public function setAccessCallback($accessCallback) { + $this->accessCallback = $accessCallback; + return $this; + } + + /** + * Get accessCallback + * + * @return string + */ + public function getAccessCallback() { + return $this->accessCallback; + } + + /** + * Set accessArguments + * + * @param text $accessArguments + * @return Menu + */ + public function setAccessArguments($accessArguments) { + $this->accessArguments = $accessArguments; + return $this; + } + + /** + * Get accessArguments + * + * @return text + */ + public function getAccessArguments() { + return $this->accessArguments; + } + + /** + * Set pageCallback + * + * @param string $pageCallback + * @return Menu + */ + public function setPageCallback($pageCallback) { + $this->pageCallback = $pageCallback; + return $this; + } + + /** + * Get pageCallback + * + * @return string + */ + public function getPageCallback() { + return $this->pageCallback; + } + + /** + * Set pageArguments + * + * @param text $pageArguments + * @return Menu + */ + public function setPageArguments($pageArguments) { + $this->pageArguments = $pageArguments; + return $this; + } + + /** + * Get pageArguments + * + * @return text + */ + public function getPageArguments() { + return $this->pageArguments; + } + + /** + * Set breadcrumb + * + * @param text $breadcrumb + * @return Menu + */ + public function setBreadcrumb($breadcrumb) { + $this->breadcrumb = $breadcrumb; + return $this; + } + + /** + * Get breadcrumb + * + * @return text + */ + public function getBreadcrumb() { + return $this->breadcrumb; + } + + /** + * Set returnUrl + * + * @param string $returnUrl + * @return Menu + */ + public function setReturnUrl($returnUrl) { + $this->returnUrl = $returnUrl; + return $this; + } + + /** + * Get returnUrl + * + * @return string + */ + public function getReturnUrl() { + return $this->returnUrl; + } + + /** + * Set returnUrlArgs + * + * @param string $returnUrlArgs + * @return Menu + */ + public function setReturnUrlArgs($returnUrlArgs) { + $this->returnUrlArgs = $returnUrlArgs; + return $this; + } + + /** + * Get returnUrlArgs + * + * @return string + */ + public function getReturnUrlArgs() { + return $this->returnUrlArgs; + } + + /** + * Set component + * + * @param \Civi\Core\Component $component + * @return Menu + */ + public function setComponent(\Civi\Core\Component $component = null) { + $this->component = $component; + return $this; + } + + /** + * Get component + * + * @return \Civi\Core\Component + */ + public function getComponent() { + return $this->component; + } + + /** + * Set isActive + * + * @param boolean $isActive + * @return Menu + */ + public function setIsActive($isActive) { + $this->isActive = $isActive; + return $this; + } + + /** + * Get isActive + * + * @return boolean + */ + public function getIsActive() { + return $this->isActive; + } + + /** + * Set isPublic + * + * @param boolean $isPublic + * @return Menu + */ + public function setIsPublic($isPublic) { + $this->isPublic = $isPublic; + return $this; + } + + /** + * Get isPublic + * + * @return boolean + */ + public function getIsPublic() { + return $this->isPublic; + } + + /** + * Set isExposed + * + * @param boolean $isExposed + * @return Menu + */ + public function setIsExposed($isExposed) { + $this->isExposed = $isExposed; + return $this; + } + + /** + * Get isExposed + * + * @return boolean + */ + public function getIsExposed() { + return $this->isExposed; + } + + /** + * Set isSsl + * + * @param boolean $isSsl + * @return Menu + */ + public function setIsSsl($isSsl) { + $this->isSsl = $isSsl; + return $this; + } + + /** + * Get isSsl + * + * @return boolean + */ + public function getIsSsl() { + return $this->isSsl; + } + + /** + * Set weight + * + * @param int $weight + * @return Menu + */ + public function setWeight($weight) { + $this->weight = $weight; + return $this; + } + + /** + * Get weight + * + * @return int + */ + public function getWeight() { + return $this->weight; + } + + /** + * Set type + * + * @param int $type + * @return Menu + */ + public function setType($type) { + $this->type = $type; + return $this; + } + + /** + * Get type + * + * @return int + */ + public function getType() { + return $this->type; + } + + /** + * Set pageType + * + * @param int $pageType + * @return Menu + */ + public function setPageType($pageType) { + $this->pageType = $pageType; + return $this; + } + + /** + * Get pageType + * + * @return int + */ + public function getPageType() { + return $this->pageType; + } + + /** + * Set skipBreadcrumb + * + * @param boolean $skipBreadcrumb + * @return Menu + */ + public function setSkipBreadcrumb($skipBreadcrumb) { + $this->skipBreadcrumb = $skipBreadcrumb; + return $this; + } + + /** + * Get skipBreadcrumb + * + * @return boolean + */ + public function getSkipBreadcrumb() { + return $this->skipBreadcrumb; + } + +} + diff --git a/Civi/Core/MessageTemplate.php b/Civi/Core/MessageTemplate.php new file mode 100644 index 0000000000..f0898c68b1 --- /dev/null +++ b/Civi/Core/MessageTemplate.php @@ -0,0 +1,320 @@ +id; + } + + /** + * Set msgTitle + * + * @param string $msgTitle + * @return MessageTemplate + */ + public function setMsgTitle($msgTitle) { + $this->msgTitle = $msgTitle; + return $this; + } + + /** + * Get msgTitle + * + * @return string + */ + public function getMsgTitle() { + return $this->msgTitle; + } + + /** + * Set msgSubject + * + * @param text $msgSubject + * @return MessageTemplate + */ + public function setMsgSubject($msgSubject) { + $this->msgSubject = $msgSubject; + return $this; + } + + /** + * Get msgSubject + * + * @return text + */ + public function getMsgSubject() { + return $this->msgSubject; + } + + /** + * Set msgText + * + * @param longtext $msgText + * @return MessageTemplate + */ + public function setMsgText($msgText) { + $this->msgText = $msgText; + return $this; + } + + /** + * Get msgText + * + * @return longtext + */ + public function getMsgText() { + return $this->msgText; + } + + /** + * Set msgHtml + * + * @param longtext $msgHtml + * @return MessageTemplate + */ + public function setMsgHtml($msgHtml) { + $this->msgHtml = $msgHtml; + return $this; + } + + /** + * Get msgHtml + * + * @return longtext + */ + public function getMsgHtml() { + return $this->msgHtml; + } + + /** + * Set isActive + * + * @param boolean $isActive + * @return MessageTemplate + */ + public function setIsActive($isActive) { + $this->isActive = $isActive; + return $this; + } + + /** + * Get isActive + * + * @return boolean + */ + public function getIsActive() { + return $this->isActive; + } + + /** + * Set workflowId + * + * @param integer $workflowId + * @return MessageTemplate + */ + public function setWorkflowId($workflowId) { + $this->workflowId = $workflowId; + return $this; + } + + /** + * Get workflowId + * + * @return integer + */ + public function getWorkflowId() { + return $this->workflowId; + } + + /** + * Set isDefault + * + * @param boolean $isDefault + * @return MessageTemplate + */ + public function setIsDefault($isDefault) { + $this->isDefault = $isDefault; + return $this; + } + + /** + * Get isDefault + * + * @return boolean + */ + public function getIsDefault() { + return $this->isDefault; + } + + /** + * Set isReserved + * + * @param boolean $isReserved + * @return MessageTemplate + */ + public function setIsReserved($isReserved) { + $this->isReserved = $isReserved; + return $this; + } + + /** + * Get isReserved + * + * @return boolean + */ + public function getIsReserved() { + return $this->isReserved; + } + + /** + * Set pdfFormat + * + * @param \Civi\Core\OptionValue $pdfFormat + * @return MessageTemplate + */ + public function setPdfFormat(\Civi\Core\OptionValue $pdfFormat = null) { + $this->pdfFormat = $pdfFormat; + return $this; + } + + /** + * Get pdfFormat + * + * @return \Civi\Core\OptionValue + */ + public function getPdfFormat() { + return $this->pdfFormat; + } + +} + diff --git a/Civi/Core/Navigation.php b/Civi/Core/Navigation.php new file mode 100644 index 0000000000..bfd787eeb5 --- /dev/null +++ b/Civi/Core/Navigation.php @@ -0,0 +1,348 @@ +id; + } + + /** + * Set domain + * + * @param \Civi\Core\Domain $domain + * @return Navigation + */ + public function setDomain(\Civi\Core\Domain $domain = null) { + $this->domain = $domain; + return $this; + } + + /** + * Get domain + * + * @return \Civi\Core\Domain + */ + public function getDomain() { + return $this->domain; + } + + /** + * Set label + * + * @param string $label + * @return Navigation + */ + public function setLabel($label) { + $this->label = $label; + return $this; + } + + /** + * Get label + * + * @return string + */ + public function getLabel() { + return $this->label; + } + + /** + * Set name + * + * @param string $name + * @return Navigation + */ + public function setName($name) { + $this->name = $name; + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() { + return $this->name; + } + + /** + * Set url + * + * @param string $url + * @return Navigation + */ + public function setUrl($url) { + $this->url = $url; + return $this; + } + + /** + * Get url + * + * @return string + */ + public function getUrl() { + return $this->url; + } + + /** + * Set permission + * + * @param string $permission + * @return Navigation + */ + public function setPermission($permission) { + $this->permission = $permission; + return $this; + } + + /** + * Get permission + * + * @return string + */ + public function getPermission() { + return $this->permission; + } + + /** + * Set permissionOperator + * + * @param string $permissionOperator + * @return Navigation + */ + public function setPermissionOperator($permissionOperator) { + $this->permissionOperator = $permissionOperator; + return $this; + } + + /** + * Get permissionOperator + * + * @return string + */ + public function getPermissionOperator() { + return $this->permissionOperator; + } + + /** + * Set parent + * + * @param \Civi\Core\Navigation $parent + * @return Navigation + */ + public function setParent(\Civi\Core\Navigation $parent = null) { + $this->parent = $parent; + return $this; + } + + /** + * Get parent + * + * @return \Civi\Core\Navigation + */ + public function getParent() { + return $this->parent; + } + + /** + * Set isActive + * + * @param boolean $isActive + * @return Navigation + */ + public function setIsActive($isActive) { + $this->isActive = $isActive; + return $this; + } + + /** + * Get isActive + * + * @return boolean + */ + public function getIsActive() { + return $this->isActive; + } + + /** + * Set hasSeparator + * + * @param boolean $hasSeparator + * @return Navigation + */ + public function setHasSeparator($hasSeparator) { + $this->hasSeparator = $hasSeparator; + return $this; + } + + /** + * Get hasSeparator + * + * @return boolean + */ + public function getHasSeparator() { + return $this->hasSeparator; + } + + /** + * Set weight + * + * @param int $weight + * @return Navigation + */ + public function setWeight($weight) { + $this->weight = $weight; + return $this; + } + + /** + * Get weight + * + * @return int + */ + public function getWeight() { + return $this->weight; + } + +} + diff --git a/Civi/Core/Note.php b/Civi/Core/Note.php new file mode 100644 index 0000000000..97da8edb0b --- /dev/null +++ b/Civi/Core/Note.php @@ -0,0 +1,264 @@ +id; + } + + /** + * Set entityTable + * + * @param string $entityTable + * @return Note + */ + public function setEntityTable($entityTable) { + $this->entityTable = $entityTable; + return $this; + } + + /** + * Get entityTable + * + * @return string + */ + public function getEntityTable() { + return $this->entityTable; + } + + /** + * Set entityId + * + * @param integer $entityId + * @return Note + */ + public function setEntityId($entityId) { + $this->entityId = $entityId; + return $this; + } + + /** + * Get entityId + * + * @return integer + */ + public function getEntityId() { + return $this->entityId; + } + + /** + * Set note + * + * @param text $note + * @return Note + */ + public function setNote($note) { + $this->note = $note; + return $this; + } + + /** + * Get note + * + * @return text + */ + public function getNote() { + return $this->note; + } + + /** + * Set contact + * + * @param \Civi\Contact\Contact $contact + * @return Note + */ + public function setContact(\Civi\Contact\Contact $contact = null) { + $this->contact = $contact; + return $this; + } + + /** + * Get contact + * + * @return \Civi\Contact\Contact + */ + public function getContact() { + return $this->contact; + } + + /** + * Set modifiedDate + * + * @param date $modifiedDate + * @return Note + */ + public function setModifiedDate($modifiedDate) { + $this->modifiedDate = $modifiedDate; + return $this; + } + + /** + * Get modifiedDate + * + * @return date + */ + public function getModifiedDate() { + return $this->modifiedDate; + } + + /** + * Set subject + * + * @param string $subject + * @return Note + */ + public function setSubject($subject) { + $this->subject = $subject; + return $this; + } + + /** + * Get subject + * + * @return string + */ + public function getSubject() { + return $this->subject; + } + + /** + * Set privacy + * + * @param string $privacy + * @return Note + */ + public function setPrivacy($privacy) { + $this->privacy = $privacy; + return $this; + } + + /** + * Get privacy + * + * @return string + */ + public function getPrivacy() { + return $this->privacy; + } + +} + diff --git a/Civi/Core/OpenID.php b/Civi/Core/OpenID.php new file mode 100644 index 0000000000..2fb965b769 --- /dev/null +++ b/Civi/Core/OpenID.php @@ -0,0 +1,208 @@ +id; + } + + /** + * Set contact + * + * @param \Civi\Contact\Contact $contact + * @return OpenID + */ + public function setContact(\Civi\Contact\Contact $contact = null) { + $this->contact = $contact; + return $this; + } + + /** + * Get contact + * + * @return \Civi\Contact\Contact + */ + public function getContact() { + return $this->contact; + } + + /** + * Set locationTypeId + * + * @param integer $locationTypeId + * @return OpenID + */ + public function setLocationTypeId($locationTypeId) { + $this->locationTypeId = $locationTypeId; + return $this; + } + + /** + * Get locationTypeId + * + * @return integer + */ + public function getLocationTypeId() { + return $this->locationTypeId; + } + + /** + * Set openid + * + * @param string $openid + * @return OpenID + */ + public function setOpenid($openid) { + $this->openid = $openid; + return $this; + } + + /** + * Get openid + * + * @return string + */ + public function getOpenid() { + return $this->openid; + } + + /** + * Set allowedToLogin + * + * @param boolean $allowedToLogin + * @return OpenID + */ + public function setAllowedToLogin($allowedToLogin) { + $this->allowedToLogin = $allowedToLogin; + return $this; + } + + /** + * Get allowedToLogin + * + * @return boolean + */ + public function getAllowedToLogin() { + return $this->allowedToLogin; + } + + /** + * Set isPrimary + * + * @param boolean $isPrimary + * @return OpenID + */ + public function setIsPrimary($isPrimary) { + $this->isPrimary = $isPrimary; + return $this; + } + + /** + * Get isPrimary + * + * @return boolean + */ + public function getIsPrimary() { + return $this->isPrimary; + } + +} + diff --git a/Civi/Core/OptionGroup.php b/Civi/Core/OptionGroup.php new file mode 100644 index 0000000000..a0d6301b2a --- /dev/null +++ b/Civi/Core/OptionGroup.php @@ -0,0 +1,208 @@ +id; + } + + /** + * Set name + * + * @param string $name + * @return OptionGroup + */ + public function setName($name) { + $this->name = $name; + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() { + return $this->name; + } + + /** + * Set title + * + * @param string $title + * @return OptionGroup + */ + public function setTitle($title) { + $this->title = $title; + return $this; + } + + /** + * Get title + * + * @return string + */ + public function getTitle() { + return $this->title; + } + + /** + * Set description + * + * @param string $description + * @return OptionGroup + */ + public function setDescription($description) { + $this->description = $description; + return $this; + } + + /** + * Get description + * + * @return string + */ + public function getDescription() { + return $this->description; + } + + /** + * Set isReserved + * + * @param boolean $isReserved + * @return OptionGroup + */ + public function setIsReserved($isReserved) { + $this->isReserved = $isReserved; + return $this; + } + + /** + * Get isReserved + * + * @return boolean + */ + public function getIsReserved() { + return $this->isReserved; + } + + /** + * Set isActive + * + * @param boolean $isActive + * @return OptionGroup + */ + public function setIsActive($isActive) { + $this->isActive = $isActive; + return $this; + } + + /** + * Get isActive + * + * @return boolean + */ + public function getIsActive() { + return $this->isActive; + } + +} + diff --git a/Civi/Core/OptionValue.php b/Civi/Core/OptionValue.php new file mode 100644 index 0000000000..272a248693 --- /dev/null +++ b/Civi/Core/OptionValue.php @@ -0,0 +1,488 @@ +id; + } + + /** + * Set optionGroup + * + * @param \Civi\Core\OptionGroup $optionGroup + * @return OptionValue + */ + public function setOptionGroup(\Civi\Core\OptionGroup $optionGroup = null) { + $this->optionGroup = $optionGroup; + return $this; + } + + /** + * Get optionGroup + * + * @return \Civi\Core\OptionGroup + */ + public function getOptionGroup() { + return $this->optionGroup; + } + + /** + * Set label + * + * @param string $label + * @return OptionValue + */ + public function setLabel($label) { + $this->label = $label; + return $this; + } + + /** + * Get label + * + * @return string + */ + public function getLabel() { + return $this->label; + } + + /** + * Set value + * + * @param string $value + * @return OptionValue + */ + public function setValue($value) { + $this->value = $value; + return $this; + } + + /** + * Get value + * + * @return string + */ + public function getValue() { + return $this->value; + } + + /** + * Set name + * + * @param string $name + * @return OptionValue + */ + public function setName($name) { + $this->name = $name; + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() { + return $this->name; + } + + /** + * Set grouping + * + * @param string $grouping + * @return OptionValue + */ + public function setGrouping($grouping) { + $this->grouping = $grouping; + return $this; + } + + /** + * Get grouping + * + * @return string + */ + public function getGrouping() { + return $this->grouping; + } + + /** + * Set filter + * + * @param integer $filter + * @return OptionValue + */ + public function setFilter($filter) { + $this->filter = $filter; + return $this; + } + + /** + * Get filter + * + * @return integer + */ + public function getFilter() { + return $this->filter; + } + + /** + * Set isDefault + * + * @param boolean $isDefault + * @return OptionValue + */ + public function setIsDefault($isDefault) { + $this->isDefault = $isDefault; + return $this; + } + + /** + * Get isDefault + * + * @return boolean + */ + public function getIsDefault() { + return $this->isDefault; + } + + /** + * Set weight + * + * @param integer $weight + * @return OptionValue + */ + public function setWeight($weight) { + $this->weight = $weight; + return $this; + } + + /** + * Get weight + * + * @return integer + */ + public function getWeight() { + return $this->weight; + } + + /** + * Set description + * + * @param text $description + * @return OptionValue + */ + public function setDescription($description) { + $this->description = $description; + return $this; + } + + /** + * Get description + * + * @return text + */ + public function getDescription() { + return $this->description; + } + + /** + * Set isOptgroup + * + * @param boolean $isOptgroup + * @return OptionValue + */ + public function setIsOptgroup($isOptgroup) { + $this->isOptgroup = $isOptgroup; + return $this; + } + + /** + * Get isOptgroup + * + * @return boolean + */ + public function getIsOptgroup() { + return $this->isOptgroup; + } + + /** + * Set isReserved + * + * @param boolean $isReserved + * @return OptionValue + */ + public function setIsReserved($isReserved) { + $this->isReserved = $isReserved; + return $this; + } + + /** + * Get isReserved + * + * @return boolean + */ + public function getIsReserved() { + return $this->isReserved; + } + + /** + * Set isActive + * + * @param boolean $isActive + * @return OptionValue + */ + public function setIsActive($isActive) { + $this->isActive = $isActive; + return $this; + } + + /** + * Get isActive + * + * @return boolean + */ + public function getIsActive() { + return $this->isActive; + } + + /** + * Set component + * + * @param \Civi\Core\Component $component + * @return OptionValue + */ + public function setComponent(\Civi\Core\Component $component = null) { + $this->component = $component; + return $this; + } + + /** + * Get component + * + * @return \Civi\Core\Component + */ + public function getComponent() { + return $this->component; + } + + /** + * Set domain + * + * @param \Civi\Core\Domain $domain + * @return OptionValue + */ + public function setDomain(\Civi\Core\Domain $domain = null) { + $this->domain = $domain; + return $this; + } + + /** + * Get domain + * + * @return \Civi\Core\Domain + */ + public function getDomain() { + return $this->domain; + } + + /** + * Set visibilityId + * + * @param integer $visibilityId + * @return OptionValue + */ + public function setVisibilityId($visibilityId) { + $this->visibilityId = $visibilityId; + return $this; + } + + /** + * Get visibilityId + * + * @return integer + */ + public function getVisibilityId() { + return $this->visibilityId; + } + +} + diff --git a/Civi/Core/Persistent.php b/Civi/Core/Persistent.php new file mode 100644 index 0000000000..36a98710e4 --- /dev/null +++ b/Civi/Core/Persistent.php @@ -0,0 +1,180 @@ +id; + } + + /** + * Set context + * + * @param string $context + * @return Persistent + */ + public function setContext($context) { + $this->context = $context; + return $this; + } + + /** + * Get context + * + * @return string + */ + public function getContext() { + return $this->context; + } + + /** + * Set name + * + * @param string $name + * @return Persistent + */ + public function setName($name) { + $this->name = $name; + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() { + return $this->name; + } + + /** + * Set data + * + * @param longtext $data + * @return Persistent + */ + public function setData($data) { + $this->data = $data; + return $this; + } + + /** + * Get data + * + * @return longtext + */ + public function getData() { + return $this->data; + } + + /** + * Set isConfig + * + * @param boolean $isConfig + * @return Persistent + */ + public function setIsConfig($isConfig) { + $this->isConfig = $isConfig; + return $this; + } + + /** + * Get isConfig + * + * @return boolean + */ + public function getIsConfig() { + return $this->isConfig; + } + +} + diff --git a/Civi/Core/Phone.php b/Civi/Core/Phone.php new file mode 100644 index 0000000000..42232ab409 --- /dev/null +++ b/Civi/Core/Phone.php @@ -0,0 +1,320 @@ +id; + } + + /** + * Set contact + * + * @param \Civi\Contact\Contact $contact + * @return Phone + */ + public function setContact(\Civi\Contact\Contact $contact = null) { + $this->contact = $contact; + return $this; + } + + /** + * Get contact + * + * @return \Civi\Contact\Contact + */ + public function getContact() { + return $this->contact; + } + + /** + * Set locationTypeId + * + * @param integer $locationTypeId + * @return Phone + */ + public function setLocationTypeId($locationTypeId) { + $this->locationTypeId = $locationTypeId; + return $this; + } + + /** + * Get locationTypeId + * + * @return integer + */ + public function getLocationTypeId() { + return $this->locationTypeId; + } + + /** + * Set isPrimary + * + * @param boolean $isPrimary + * @return Phone + */ + public function setIsPrimary($isPrimary) { + $this->isPrimary = $isPrimary; + return $this; + } + + /** + * Get isPrimary + * + * @return boolean + */ + public function getIsPrimary() { + return $this->isPrimary; + } + + /** + * Set isBilling + * + * @param boolean $isBilling + * @return Phone + */ + public function setIsBilling($isBilling) { + $this->isBilling = $isBilling; + return $this; + } + + /** + * Get isBilling + * + * @return boolean + */ + public function getIsBilling() { + return $this->isBilling; + } + + /** + * Set mobileProviderId + * + * @param integer $mobileProviderId + * @return Phone + */ + public function setMobileProviderId($mobileProviderId) { + $this->mobileProviderId = $mobileProviderId; + return $this; + } + + /** + * Get mobileProviderId + * + * @return integer + */ + public function getMobileProviderId() { + return $this->mobileProviderId; + } + + /** + * Set phone + * + * @param string $phone + * @return Phone + */ + public function setPhone($phone) { + $this->phone = $phone; + return $this; + } + + /** + * Get phone + * + * @return string + */ + public function getPhone() { + return $this->phone; + } + + /** + * Set phoneExt + * + * @param string $phoneExt + * @return Phone + */ + public function setPhoneExt($phoneExt) { + $this->phoneExt = $phoneExt; + return $this; + } + + /** + * Get phoneExt + * + * @return string + */ + public function getPhoneExt() { + return $this->phoneExt; + } + + /** + * Set phoneNumeric + * + * @param string $phoneNumeric + * @return Phone + */ + public function setPhoneNumeric($phoneNumeric) { + $this->phoneNumeric = $phoneNumeric; + return $this; + } + + /** + * Get phoneNumeric + * + * @return string + */ + public function getPhoneNumeric() { + return $this->phoneNumeric; + } + + /** + * Set phoneTypeId + * + * @param integer $phoneTypeId + * @return Phone + */ + public function setPhoneTypeId($phoneTypeId) { + $this->phoneTypeId = $phoneTypeId; + return $this; + } + + /** + * Get phoneTypeId + * + * @return integer + */ + public function getPhoneTypeId() { + return $this->phoneTypeId; + } + +} + diff --git a/Civi/Core/PreferencesDate.php b/Civi/Core/PreferencesDate.php new file mode 100644 index 0000000000..c799dae21c --- /dev/null +++ b/Civi/Core/PreferencesDate.php @@ -0,0 +1,236 @@ +id; + } + + /** + * Set name + * + * @param string $name + * @return PreferencesDate + */ + public function setName($name) { + $this->name = $name; + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() { + return $this->name; + } + + /** + * Set description + * + * @param string $description + * @return PreferencesDate + */ + public function setDescription($description) { + $this->description = $description; + return $this; + } + + /** + * Get description + * + * @return string + */ + public function getDescription() { + return $this->description; + } + + /** + * Set start + * + * @param int $start + * @return PreferencesDate + */ + public function setStart($start) { + $this->start = $start; + return $this; + } + + /** + * Get start + * + * @return int + */ + public function getStart() { + return $this->start; + } + + /** + * Set end + * + * @param int $end + * @return PreferencesDate + */ + public function setEnd($end) { + $this->end = $end; + return $this; + } + + /** + * Get end + * + * @return int + */ + public function getEnd() { + return $this->end; + } + + /** + * Set dateFormat + * + * @param string $dateFormat + * @return PreferencesDate + */ + public function setDateFormat($dateFormat) { + $this->dateFormat = $dateFormat; + return $this; + } + + /** + * Get dateFormat + * + * @return string + */ + public function getDateFormat() { + return $this->dateFormat; + } + + /** + * Set timeFormat + * + * @param string $timeFormat + * @return PreferencesDate + */ + public function setTimeFormat($timeFormat) { + $this->timeFormat = $timeFormat; + return $this; + } + + /** + * Get timeFormat + * + * @return string + */ + public function getTimeFormat() { + return $this->timeFormat; + } + +} + diff --git a/Civi/Core/PrevNextCache.php b/Civi/Core/PrevNextCache.php new file mode 100644 index 0000000000..2fedbb42cf --- /dev/null +++ b/Civi/Core/PrevNextCache.php @@ -0,0 +1,236 @@ +id; + } + + /** + * Set entityTable + * + * @param string $entityTable + * @return PrevNextCache + */ + public function setEntityTable($entityTable) { + $this->entityTable = $entityTable; + return $this; + } + + /** + * Get entityTable + * + * @return string + */ + public function getEntityTable() { + return $this->entityTable; + } + + /** + * Set entityId1 + * + * @param integer $entityId1 + * @return PrevNextCache + */ + public function setEntityId1($entityId1) { + $this->entityId1 = $entityId1; + return $this; + } + + /** + * Get entityId1 + * + * @return integer + */ + public function getEntityId1() { + return $this->entityId1; + } + + /** + * Set entityId2 + * + * @param integer $entityId2 + * @return PrevNextCache + */ + public function setEntityId2($entityId2) { + $this->entityId2 = $entityId2; + return $this; + } + + /** + * Get entityId2 + * + * @return integer + */ + public function getEntityId2() { + return $this->entityId2; + } + + /** + * Set cacheKey + * + * @param string $cacheKey + * @return PrevNextCache + */ + public function setCacheKey($cacheKey) { + $this->cacheKey = $cacheKey; + return $this; + } + + /** + * Get cacheKey + * + * @return string + */ + public function getCacheKey() { + return $this->cacheKey; + } + + /** + * Set data + * + * @param longtext $data + * @return PrevNextCache + */ + public function setData($data) { + $this->data = $data; + return $this; + } + + /** + * Get data + * + * @return longtext + */ + public function getData() { + return $this->data; + } + + /** + * Set isSelected + * + * @param boolean $isSelected + * @return PrevNextCache + */ + public function setIsSelected($isSelected) { + $this->isSelected = $isSelected; + return $this; + } + + /** + * Get isSelected + * + * @return boolean + */ + public function getIsSelected() { + return $this->isSelected; + } + +} + diff --git a/Civi/Core/PrintLabel.php b/Civi/Core/PrintLabel.php new file mode 100644 index 0000000000..437741bb77 --- /dev/null +++ b/Civi/Core/PrintLabel.php @@ -0,0 +1,348 @@ +id; + } + + /** + * Set title + * + * @param string $title + * @return PrintLabel + */ + public function setTitle($title) { + $this->title = $title; + return $this; + } + + /** + * Get title + * + * @return string + */ + public function getTitle() { + return $this->title; + } + + /** + * Set name + * + * @param string $name + * @return PrintLabel + */ + public function setName($name) { + $this->name = $name; + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() { + return $this->name; + } + + /** + * Set description + * + * @param text $description + * @return PrintLabel + */ + public function setDescription($description) { + $this->description = $description; + return $this; + } + + /** + * Get description + * + * @return text + */ + public function getDescription() { + return $this->description; + } + + /** + * Set labelFormatName + * + * @param string $labelFormatName + * @return PrintLabel + */ + public function setLabelFormatName($labelFormatName) { + $this->labelFormatName = $labelFormatName; + return $this; + } + + /** + * Get labelFormatName + * + * @return string + */ + public function getLabelFormatName() { + return $this->labelFormatName; + } + + /** + * Set labelTypeId + * + * @param integer $labelTypeId + * @return PrintLabel + */ + public function setLabelTypeId($labelTypeId) { + $this->labelTypeId = $labelTypeId; + return $this; + } + + /** + * Get labelTypeId + * + * @return integer + */ + public function getLabelTypeId() { + return $this->labelTypeId; + } + + /** + * Set data + * + * @param longtext $data + * @return PrintLabel + */ + public function setData($data) { + $this->data = $data; + return $this; + } + + /** + * Get data + * + * @return longtext + */ + public function getData() { + return $this->data; + } + + /** + * Set isDefault + * + * @param boolean $isDefault + * @return PrintLabel + */ + public function setIsDefault($isDefault) { + $this->isDefault = $isDefault; + return $this; + } + + /** + * Get isDefault + * + * @return boolean + */ + public function getIsDefault() { + return $this->isDefault; + } + + /** + * Set isActive + * + * @param boolean $isActive + * @return PrintLabel + */ + public function setIsActive($isActive) { + $this->isActive = $isActive; + return $this; + } + + /** + * Get isActive + * + * @return boolean + */ + public function getIsActive() { + return $this->isActive; + } + + /** + * Set isReserved + * + * @param boolean $isReserved + * @return PrintLabel + */ + public function setIsReserved($isReserved) { + $this->isReserved = $isReserved; + return $this; + } + + /** + * Get isReserved + * + * @return boolean + */ + public function getIsReserved() { + return $this->isReserved; + } + + /** + * Set created + * + * @param \Civi\Contact\Contact $created + * @return PrintLabel + */ + public function setCreated(\Civi\Contact\Contact $created = null) { + $this->created = $created; + return $this; + } + + /** + * Get created + * + * @return \Civi\Contact\Contact + */ + public function getCreated() { + return $this->created; + } + +} + diff --git a/Civi/Core/Setting.php b/Civi/Core/Setting.php new file mode 100644 index 0000000000..c75bc8f046 --- /dev/null +++ b/Civi/Core/Setting.php @@ -0,0 +1,320 @@ +id; + } + + /** + * Set groupName + * + * @param string $groupName + * @return Setting + */ + public function setGroupName($groupName) { + $this->groupName = $groupName; + return $this; + } + + /** + * Get groupName + * + * @return string + */ + public function getGroupName() { + return $this->groupName; + } + + /** + * Set name + * + * @param string $name + * @return Setting + */ + public function setName($name) { + $this->name = $name; + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() { + return $this->name; + } + + /** + * Set value + * + * @param text $value + * @return Setting + */ + public function setValue($value) { + $this->value = $value; + return $this; + } + + /** + * Get value + * + * @return text + */ + public function getValue() { + return $this->value; + } + + /** + * Set domain + * + * @param \Civi\Core\Domain $domain + * @return Setting + */ + public function setDomain(\Civi\Core\Domain $domain = null) { + $this->domain = $domain; + return $this; + } + + /** + * Get domain + * + * @return \Civi\Core\Domain + */ + public function getDomain() { + return $this->domain; + } + + /** + * Set contact + * + * @param \Civi\Contact\Contact $contact + * @return Setting + */ + public function setContact(\Civi\Contact\Contact $contact = null) { + $this->contact = $contact; + return $this; + } + + /** + * Get contact + * + * @return \Civi\Contact\Contact + */ + public function getContact() { + return $this->contact; + } + + /** + * Set isDomain + * + * @param boolean $isDomain + * @return Setting + */ + public function setIsDomain($isDomain) { + $this->isDomain = $isDomain; + return $this; + } + + /** + * Get isDomain + * + * @return boolean + */ + public function getIsDomain() { + return $this->isDomain; + } + + /** + * Set component + * + * @param \Civi\Core\Component $component + * @return Setting + */ + public function setComponent(\Civi\Core\Component $component = null) { + $this->component = $component; + return $this; + } + + /** + * Get component + * + * @return \Civi\Core\Component + */ + public function getComponent() { + return $this->component; + } + + /** + * Set createdDate + * + * @param datetime $createdDate + * @return Setting + */ + public function setCreatedDate($createdDate) { + $this->createdDate = $createdDate; + return $this; + } + + /** + * Get createdDate + * + * @return datetime + */ + public function getCreatedDate() { + return $this->createdDate; + } + + /** + * Set created + * + * @param \Civi\Contact\Contact $created + * @return Setting + */ + public function setCreated(\Civi\Contact\Contact $created = null) { + $this->created = $created; + return $this; + } + + /** + * Get created + * + * @return \Civi\Contact\Contact + */ + public function getCreated() { + return $this->created; + } + +} + diff --git a/Civi/Core/StateProvince.php b/Civi/Core/StateProvince.php new file mode 100644 index 0000000000..a042659cdf --- /dev/null +++ b/Civi/Core/StateProvince.php @@ -0,0 +1,152 @@ +id; + } + + /** + * Set name + * + * @param string $name + * @return StateProvince + */ + public function setName($name) { + $this->name = $name; + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() { + return $this->name; + } + + /** + * Set abbreviation + * + * @param string $abbreviation + * @return StateProvince + */ + public function setAbbreviation($abbreviation) { + $this->abbreviation = $abbreviation; + return $this; + } + + /** + * Get abbreviation + * + * @return string + */ + public function getAbbreviation() { + return $this->abbreviation; + } + + /** + * Set country + * + * @param \Civi\Core\Country $country + * @return StateProvince + */ + public function setCountry(\Civi\Core\Country $country = null) { + $this->country = $country; + return $this; + } + + /** + * Get country + * + * @return \Civi\Core\Country + */ + public function getCountry() { + return $this->country; + } + +} + diff --git a/Civi/Core/Tag.php b/Civi/Core/Tag.php new file mode 100644 index 0000000000..4887b57f5c --- /dev/null +++ b/Civi/Core/Tag.php @@ -0,0 +1,320 @@ +id; + } + + /** + * Set name + * + * @param string $name + * @return Tag + */ + public function setName($name) { + $this->name = $name; + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() { + return $this->name; + } + + /** + * Set description + * + * @param string $description + * @return Tag + */ + public function setDescription($description) { + $this->description = $description; + return $this; + } + + /** + * Get description + * + * @return string + */ + public function getDescription() { + return $this->description; + } + + /** + * Set parent + * + * @param \Civi\Core\Tag $parent + * @return Tag + */ + public function setParent(\Civi\Core\Tag $parent = null) { + $this->parent = $parent; + return $this; + } + + /** + * Get parent + * + * @return \Civi\Core\Tag + */ + public function getParent() { + return $this->parent; + } + + /** + * Set isSelectable + * + * @param boolean $isSelectable + * @return Tag + */ + public function setIsSelectable($isSelectable) { + $this->isSelectable = $isSelectable; + return $this; + } + + /** + * Get isSelectable + * + * @return boolean + */ + public function getIsSelectable() { + return $this->isSelectable; + } + + /** + * Set isReserved + * + * @param boolean $isReserved + * @return Tag + */ + public function setIsReserved($isReserved) { + $this->isReserved = $isReserved; + return $this; + } + + /** + * Get isReserved + * + * @return boolean + */ + public function getIsReserved() { + return $this->isReserved; + } + + /** + * Set isTagset + * + * @param boolean $isTagset + * @return Tag + */ + public function setIsTagset($isTagset) { + $this->isTagset = $isTagset; + return $this; + } + + /** + * Get isTagset + * + * @return boolean + */ + public function getIsTagset() { + return $this->isTagset; + } + + /** + * Set usedFor + * + * @param string $usedFor + * @return Tag + */ + public function setUsedFor($usedFor) { + $this->usedFor = $usedFor; + return $this; + } + + /** + * Get usedFor + * + * @return string + */ + public function getUsedFor() { + return $this->usedFor; + } + + /** + * Set created + * + * @param \Civi\Contact\Contact $created + * @return Tag + */ + public function setCreated(\Civi\Contact\Contact $created = null) { + $this->created = $created; + return $this; + } + + /** + * Get created + * + * @return \Civi\Contact\Contact + */ + public function getCreated() { + return $this->created; + } + + /** + * Set createdDate + * + * @param datetime $createdDate + * @return Tag + */ + public function setCreatedDate($createdDate) { + $this->createdDate = $createdDate; + return $this; + } + + /** + * Get createdDate + * + * @return datetime + */ + public function getCreatedDate() { + return $this->createdDate; + } + +} + diff --git a/Civi/Core/Timezone.php b/Civi/Core/Timezone.php new file mode 100644 index 0000000000..527fd82415 --- /dev/null +++ b/Civi/Core/Timezone.php @@ -0,0 +1,208 @@ +id; + } + + /** + * Set name + * + * @param string $name + * @return Timezone + */ + public function setName($name) { + $this->name = $name; + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() { + return $this->name; + } + + /** + * Set abbreviation + * + * @param string $abbreviation + * @return Timezone + */ + public function setAbbreviation($abbreviation) { + $this->abbreviation = $abbreviation; + return $this; + } + + /** + * Get abbreviation + * + * @return string + */ + public function getAbbreviation() { + return $this->abbreviation; + } + + /** + * Set gmt + * + * @param string $gmt + * @return Timezone + */ + public function setGmt($gmt) { + $this->gmt = $gmt; + return $this; + } + + /** + * Get gmt + * + * @return string + */ + public function getGmt() { + return $this->gmt; + } + + /** + * Set offset + * + * @param int $offset + * @return Timezone + */ + public function setOffset($offset) { + $this->offset = $offset; + return $this; + } + + /** + * Get offset + * + * @return int + */ + public function getOffset() { + return $this->offset; + } + + /** + * Set country + * + * @param \Civi\Core\Country $country + * @return Timezone + */ + public function setCountry(\Civi\Core\Country $country = null) { + $this->country = $country; + return $this; + } + + /** + * Get country + * + * @return \Civi\Core\Country + */ + public function getCountry() { + return $this->country; + } + +} + diff --git a/Civi/Core/UFField.php b/Civi/Core/UFField.php new file mode 100644 index 0000000000..366c2cdaaa --- /dev/null +++ b/Civi/Core/UFField.php @@ -0,0 +1,544 @@ +id; + } + + /** + * Set ufGroup + * + * @param \Civi\Core\UFGroup $ufGroup + * @return UFField + */ + public function setUfGroup(\Civi\Core\UFGroup $ufGroup = null) { + $this->ufGroup = $ufGroup; + return $this; + } + + /** + * Get ufGroup + * + * @return \Civi\Core\UFGroup + */ + public function getUfGroup() { + return $this->ufGroup; + } + + /** + * Set fieldName + * + * @param string $fieldName + * @return UFField + */ + public function setFieldName($fieldName) { + $this->fieldName = $fieldName; + return $this; + } + + /** + * Get fieldName + * + * @return string + */ + public function getFieldName() { + return $this->fieldName; + } + + /** + * Set isActive + * + * @param boolean $isActive + * @return UFField + */ + public function setIsActive($isActive) { + $this->isActive = $isActive; + return $this; + } + + /** + * Get isActive + * + * @return boolean + */ + public function getIsActive() { + return $this->isActive; + } + + /** + * Set isView + * + * @param boolean $isView + * @return UFField + */ + public function setIsView($isView) { + $this->isView = $isView; + return $this; + } + + /** + * Get isView + * + * @return boolean + */ + public function getIsView() { + return $this->isView; + } + + /** + * Set isRequired + * + * @param boolean $isRequired + * @return UFField + */ + public function setIsRequired($isRequired) { + $this->isRequired = $isRequired; + return $this; + } + + /** + * Get isRequired + * + * @return boolean + */ + public function getIsRequired() { + return $this->isRequired; + } + + /** + * Set weight + * + * @param int $weight + * @return UFField + */ + public function setWeight($weight) { + $this->weight = $weight; + return $this; + } + + /** + * Get weight + * + * @return int + */ + public function getWeight() { + return $this->weight; + } + + /** + * Set helpPost + * + * @param text $helpPost + * @return UFField + */ + public function setHelpPost($helpPost) { + $this->helpPost = $helpPost; + return $this; + } + + /** + * Get helpPost + * + * @return text + */ + public function getHelpPost() { + return $this->helpPost; + } + + /** + * Set helpPre + * + * @param text $helpPre + * @return UFField + */ + public function setHelpPre($helpPre) { + $this->helpPre = $helpPre; + return $this; + } + + /** + * Get helpPre + * + * @return text + */ + public function getHelpPre() { + return $this->helpPre; + } + + /** + * Set visibility + * + * @param string $visibility + * @return UFField + */ + public function setVisibility($visibility) { + $this->visibility = $visibility; + return $this; + } + + /** + * Get visibility + * + * @return string + */ + public function getVisibility() { + return $this->visibility; + } + + /** + * Set inSelector + * + * @param boolean $inSelector + * @return UFField + */ + public function setInSelector($inSelector) { + $this->inSelector = $inSelector; + return $this; + } + + /** + * Get inSelector + * + * @return boolean + */ + public function getInSelector() { + return $this->inSelector; + } + + /** + * Set isSearchable + * + * @param boolean $isSearchable + * @return UFField + */ + public function setIsSearchable($isSearchable) { + $this->isSearchable = $isSearchable; + return $this; + } + + /** + * Get isSearchable + * + * @return boolean + */ + public function getIsSearchable() { + return $this->isSearchable; + } + + /** + * Set locationType + * + * @param \Civi\Core\LocationType $locationType + * @return UFField + */ + public function setLocationType(\Civi\Core\LocationType $locationType = null) { + $this->locationType = $locationType; + return $this; + } + + /** + * Get locationType + * + * @return \Civi\Core\LocationType + */ + public function getLocationType() { + return $this->locationType; + } + + /** + * Set phoneTypeId + * + * @param integer $phoneTypeId + * @return UFField + */ + public function setPhoneTypeId($phoneTypeId) { + $this->phoneTypeId = $phoneTypeId; + return $this; + } + + /** + * Get phoneTypeId + * + * @return integer + */ + public function getPhoneTypeId() { + return $this->phoneTypeId; + } + + /** + * Set label + * + * @param string $label + * @return UFField + */ + public function setLabel($label) { + $this->label = $label; + return $this; + } + + /** + * Get label + * + * @return string + */ + public function getLabel() { + return $this->label; + } + + /** + * Set fieldType + * + * @param string $fieldType + * @return UFField + */ + public function setFieldType($fieldType) { + $this->fieldType = $fieldType; + return $this; + } + + /** + * Get fieldType + * + * @return string + */ + public function getFieldType() { + return $this->fieldType; + } + + /** + * Set isReserved + * + * @param boolean $isReserved + * @return UFField + */ + public function setIsReserved($isReserved) { + $this->isReserved = $isReserved; + return $this; + } + + /** + * Get isReserved + * + * @return boolean + */ + public function getIsReserved() { + return $this->isReserved; + } + + /** + * Set isMultiSummary + * + * @param boolean $isMultiSummary + * @return UFField + */ + public function setIsMultiSummary($isMultiSummary) { + $this->isMultiSummary = $isMultiSummary; + return $this; + } + + /** + * Get isMultiSummary + * + * @return boolean + */ + public function getIsMultiSummary() { + return $this->isMultiSummary; + } + +} + diff --git a/Civi/Core/UFGroup.php b/Civi/Core/UFGroup.php new file mode 100644 index 0000000000..9a1dc56529 --- /dev/null +++ b/Civi/Core/UFGroup.php @@ -0,0 +1,684 @@ +id; + } + + /** + * Set isActive + * + * @param boolean $isActive + * @return UFGroup + */ + public function setIsActive($isActive) { + $this->isActive = $isActive; + return $this; + } + + /** + * Get isActive + * + * @return boolean + */ + public function getIsActive() { + return $this->isActive; + } + + /** + * Set groupType + * + * @param string $groupType + * @return UFGroup + */ + public function setGroupType($groupType) { + $this->groupType = $groupType; + return $this; + } + + /** + * Get groupType + * + * @return string + */ + public function getGroupType() { + return $this->groupType; + } + + /** + * Set title + * + * @param string $title + * @return UFGroup + */ + public function setTitle($title) { + $this->title = $title; + return $this; + } + + /** + * Get title + * + * @return string + */ + public function getTitle() { + return $this->title; + } + + /** + * Set description + * + * @param text $description + * @return UFGroup + */ + public function setDescription($description) { + $this->description = $description; + return $this; + } + + /** + * Get description + * + * @return text + */ + public function getDescription() { + return $this->description; + } + + /** + * Set helpPre + * + * @param text $helpPre + * @return UFGroup + */ + public function setHelpPre($helpPre) { + $this->helpPre = $helpPre; + return $this; + } + + /** + * Get helpPre + * + * @return text + */ + public function getHelpPre() { + return $this->helpPre; + } + + /** + * Set helpPost + * + * @param text $helpPost + * @return UFGroup + */ + public function setHelpPost($helpPost) { + $this->helpPost = $helpPost; + return $this; + } + + /** + * Get helpPost + * + * @return text + */ + public function getHelpPost() { + return $this->helpPost; + } + + /** + * Set limitListingsGroup + * + * @param \Civi\Contact\Group $limitListingsGroup + * @return UFGroup + */ + public function setLimitListingsGroup(\Civi\Contact\Group $limitListingsGroup = null) { + $this->limitListingsGroup = $limitListingsGroup; + return $this; + } + + /** + * Get limitListingsGroup + * + * @return \Civi\Contact\Group + */ + public function getLimitListingsGroup() { + return $this->limitListingsGroup; + } + + /** + * Set postURL + * + * @param string $postURL + * @return UFGroup + */ + public function setPostURL($postURL) { + $this->postURL = $postURL; + return $this; + } + + /** + * Get postURL + * + * @return string + */ + public function getPostURL() { + return $this->postURL; + } + + /** + * Set addToGroup + * + * @param \Civi\Contact\Group $addToGroup + * @return UFGroup + */ + public function setAddToGroup(\Civi\Contact\Group $addToGroup = null) { + $this->addToGroup = $addToGroup; + return $this; + } + + /** + * Get addToGroup + * + * @return \Civi\Contact\Group + */ + public function getAddToGroup() { + return $this->addToGroup; + } + + /** + * Set addCaptcha + * + * @param boolean $addCaptcha + * @return UFGroup + */ + public function setAddCaptcha($addCaptcha) { + $this->addCaptcha = $addCaptcha; + return $this; + } + + /** + * Get addCaptcha + * + * @return boolean + */ + public function getAddCaptcha() { + return $this->addCaptcha; + } + + /** + * Set isMap + * + * @param boolean $isMap + * @return UFGroup + */ + public function setIsMap($isMap) { + $this->isMap = $isMap; + return $this; + } + + /** + * Get isMap + * + * @return boolean + */ + public function getIsMap() { + return $this->isMap; + } + + /** + * Set isEditLink + * + * @param boolean $isEditLink + * @return UFGroup + */ + public function setIsEditLink($isEditLink) { + $this->isEditLink = $isEditLink; + return $this; + } + + /** + * Get isEditLink + * + * @return boolean + */ + public function getIsEditLink() { + return $this->isEditLink; + } + + /** + * Set isUfLink + * + * @param boolean $isUfLink + * @return UFGroup + */ + public function setIsUfLink($isUfLink) { + $this->isUfLink = $isUfLink; + return $this; + } + + /** + * Get isUfLink + * + * @return boolean + */ + public function getIsUfLink() { + return $this->isUfLink; + } + + /** + * Set isUpdateDupe + * + * @param boolean $isUpdateDupe + * @return UFGroup + */ + public function setIsUpdateDupe($isUpdateDupe) { + $this->isUpdateDupe = $isUpdateDupe; + return $this; + } + + /** + * Get isUpdateDupe + * + * @return boolean + */ + public function getIsUpdateDupe() { + return $this->isUpdateDupe; + } + + /** + * Set cancelURL + * + * @param string $cancelURL + * @return UFGroup + */ + public function setCancelURL($cancelURL) { + $this->cancelURL = $cancelURL; + return $this; + } + + /** + * Get cancelURL + * + * @return string + */ + public function getCancelURL() { + return $this->cancelURL; + } + + /** + * Set isCmsUser + * + * @param boolean $isCmsUser + * @return UFGroup + */ + public function setIsCmsUser($isCmsUser) { + $this->isCmsUser = $isCmsUser; + return $this; + } + + /** + * Get isCmsUser + * + * @return boolean + */ + public function getIsCmsUser() { + return $this->isCmsUser; + } + + /** + * Set notify + * + * @param text $notify + * @return UFGroup + */ + public function setNotify($notify) { + $this->notify = $notify; + return $this; + } + + /** + * Get notify + * + * @return text + */ + public function getNotify() { + return $this->notify; + } + + /** + * Set isReserved + * + * @param boolean $isReserved + * @return UFGroup + */ + public function setIsReserved($isReserved) { + $this->isReserved = $isReserved; + return $this; + } + + /** + * Get isReserved + * + * @return boolean + */ + public function getIsReserved() { + return $this->isReserved; + } + + /** + * Set name + * + * @param string $name + * @return UFGroup + */ + public function setName($name) { + $this->name = $name; + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() { + return $this->name; + } + + /** + * Set created + * + * @param \Civi\Contact\Contact $created + * @return UFGroup + */ + public function setCreated(\Civi\Contact\Contact $created = null) { + $this->created = $created; + return $this; + } + + /** + * Get created + * + * @return \Civi\Contact\Contact + */ + public function getCreated() { + return $this->created; + } + + /** + * Set createdDate + * + * @param datetime $createdDate + * @return UFGroup + */ + public function setCreatedDate($createdDate) { + $this->createdDate = $createdDate; + return $this; + } + + /** + * Get createdDate + * + * @return datetime + */ + public function getCreatedDate() { + return $this->createdDate; + } + + /** + * Set isProximitySearch + * + * @param boolean $isProximitySearch + * @return UFGroup + */ + public function setIsProximitySearch($isProximitySearch) { + $this->isProximitySearch = $isProximitySearch; + return $this; + } + + /** + * Get isProximitySearch + * + * @return boolean + */ + public function getIsProximitySearch() { + return $this->isProximitySearch; + } + +} + diff --git a/Civi/Core/UFJoin.php b/Civi/Core/UFJoin.php new file mode 100644 index 0000000000..4415865091 --- /dev/null +++ b/Civi/Core/UFJoin.php @@ -0,0 +1,264 @@ +id; + } + + /** + * Set isActive + * + * @param boolean $isActive + * @return UFJoin + */ + public function setIsActive($isActive) { + $this->isActive = $isActive; + return $this; + } + + /** + * Get isActive + * + * @return boolean + */ + public function getIsActive() { + return $this->isActive; + } + + /** + * Set module + * + * @param string $module + * @return UFJoin + */ + public function setModule($module) { + $this->module = $module; + return $this; + } + + /** + * Get module + * + * @return string + */ + public function getModule() { + return $this->module; + } + + /** + * Set entityTable + * + * @param string $entityTable + * @return UFJoin + */ + public function setEntityTable($entityTable) { + $this->entityTable = $entityTable; + return $this; + } + + /** + * Get entityTable + * + * @return string + */ + public function getEntityTable() { + return $this->entityTable; + } + + /** + * Set entityId + * + * @param integer $entityId + * @return UFJoin + */ + public function setEntityId($entityId) { + $this->entityId = $entityId; + return $this; + } + + /** + * Get entityId + * + * @return integer + */ + public function getEntityId() { + return $this->entityId; + } + + /** + * Set weight + * + * @param int $weight + * @return UFJoin + */ + public function setWeight($weight) { + $this->weight = $weight; + return $this; + } + + /** + * Get weight + * + * @return int + */ + public function getWeight() { + return $this->weight; + } + + /** + * Set ufGroup + * + * @param \Civi\Core\UFGroup $ufGroup + * @return UFJoin + */ + public function setUfGroup(\Civi\Core\UFGroup $ufGroup = null) { + $this->ufGroup = $ufGroup; + return $this; + } + + /** + * Get ufGroup + * + * @return \Civi\Core\UFGroup + */ + public function getUfGroup() { + return $this->ufGroup; + } + + /** + * Set moduleData + * + * @param string $moduleData + * @return UFJoin + */ + public function setModuleData($moduleData) { + $this->moduleData = $moduleData; + return $this; + } + + /** + * Get moduleData + * + * @return string + */ + public function getModuleData() { + return $this->moduleData; + } + +} + diff --git a/Civi/Core/UFMatch.php b/Civi/Core/UFMatch.php new file mode 100644 index 0000000000..505a77cedb --- /dev/null +++ b/Civi/Core/UFMatch.php @@ -0,0 +1,208 @@ +id; + } + + /** + * Set domain + * + * @param \Civi\Core\Domain $domain + * @return UFMatch + */ + public function setDomain(\Civi\Core\Domain $domain = null) { + $this->domain = $domain; + return $this; + } + + /** + * Get domain + * + * @return \Civi\Core\Domain + */ + public function getDomain() { + return $this->domain; + } + + /** + * Set ufId + * + * @param integer $ufId + * @return UFMatch + */ + public function setUfId($ufId) { + $this->ufId = $ufId; + return $this; + } + + /** + * Get ufId + * + * @return integer + */ + public function getUfId() { + return $this->ufId; + } + + /** + * Set ufName + * + * @param string $ufName + * @return UFMatch + */ + public function setUfName($ufName) { + $this->ufName = $ufName; + return $this; + } + + /** + * Get ufName + * + * @return string + */ + public function getUfName() { + return $this->ufName; + } + + /** + * Set contact + * + * @param \Civi\Contact\Contact $contact + * @return UFMatch + */ + public function setContact(\Civi\Contact\Contact $contact = null) { + $this->contact = $contact; + return $this; + } + + /** + * Get contact + * + * @return \Civi\Contact\Contact + */ + public function getContact() { + return $this->contact; + } + + /** + * Set language + * + * @param string $language + * @return UFMatch + */ + public function setLanguage($language) { + $this->language = $language; + return $this; + } + + /** + * Get language + * + * @return string + */ + public function getLanguage() { + return $this->language; + } + +} + diff --git a/Civi/Core/Website.php b/Civi/Core/Website.php new file mode 100644 index 0000000000..54b6eb2c0f --- /dev/null +++ b/Civi/Core/Website.php @@ -0,0 +1,152 @@ +id; + } + + /** + * Set contact + * + * @param \Civi\Contact\Contact $contact + * @return Website + */ + public function setContact(\Civi\Contact\Contact $contact = null) { + $this->contact = $contact; + return $this; + } + + /** + * Get contact + * + * @return \Civi\Contact\Contact + */ + public function getContact() { + return $this->contact; + } + + /** + * Set url + * + * @param string $url + * @return Website + */ + public function setUrl($url) { + $this->url = $url; + return $this; + } + + /** + * Get url + * + * @return string + */ + public function getUrl() { + return $this->url; + } + + /** + * Set websiteTypeId + * + * @param integer $websiteTypeId + * @return Website + */ + public function setWebsiteTypeId($websiteTypeId) { + $this->websiteTypeId = $websiteTypeId; + return $this; + } + + /** + * Get websiteTypeId + * + * @return integer + */ + public function getWebsiteTypeId() { + return $this->websiteTypeId; + } + +} + diff --git a/Civi/Core/WordReplacement.php b/Civi/Core/WordReplacement.php new file mode 100644 index 0000000000..3ae4f755e9 --- /dev/null +++ b/Civi/Core/WordReplacement.php @@ -0,0 +1,208 @@ +id; + } + + /** + * Set findWord + * + * @param string $findWord + * @return WordReplacement + */ + public function setFindWord($findWord) { + $this->findWord = $findWord; + return $this; + } + + /** + * Get findWord + * + * @return string + */ + public function getFindWord() { + return $this->findWord; + } + + /** + * Set replaceWord + * + * @param string $replaceWord + * @return WordReplacement + */ + public function setReplaceWord($replaceWord) { + $this->replaceWord = $replaceWord; + return $this; + } + + /** + * Get replaceWord + * + * @return string + */ + public function getReplaceWord() { + return $this->replaceWord; + } + + /** + * Set isActive + * + * @param boolean $isActive + * @return WordReplacement + */ + public function setIsActive($isActive) { + $this->isActive = $isActive; + return $this; + } + + /** + * Get isActive + * + * @return boolean + */ + public function getIsActive() { + return $this->isActive; + } + + /** + * Set matchType + * + * @param string $matchType + * @return WordReplacement + */ + public function setMatchType($matchType) { + $this->matchType = $matchType; + return $this; + } + + /** + * Get matchType + * + * @return string + */ + public function getMatchType() { + return $this->matchType; + } + + /** + * Set domain + * + * @param \Civi\Core\Domain $domain + * @return WordReplacement + */ + public function setDomain(\Civi\Core\Domain $domain = null) { + $this->domain = $domain; + return $this; + } + + /** + * Get domain + * + * @return \Civi\Core\Domain + */ + public function getDomain() { + return $this->domain; + } + +} + diff --git a/Civi/Core/Worldregion.php b/Civi/Core/Worldregion.php new file mode 100644 index 0000000000..8d817b325b --- /dev/null +++ b/Civi/Core/Worldregion.php @@ -0,0 +1,96 @@ +id; + } + + /** + * Set name + * + * @param string $name + * @return Worldregion + */ + public function setName($name) { + $this->name = $name; + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() { + return $this->name; + } + +} + diff --git a/Civi/Dedupe/Exception.php b/Civi/Dedupe/Exception.php new file mode 100644 index 0000000000..5062e83d3c --- /dev/null +++ b/Civi/Dedupe/Exception.php @@ -0,0 +1,124 @@ +id; + } + + /** + * Set contact1 + * + * @param \Civi\Contact\Contact $contact1 + * @return Exception + */ + public function setContact1(\Civi\Contact\Contact $contact1 = null) { + $this->contact1 = $contact1; + return $this; + } + + /** + * Get contact1 + * + * @return \Civi\Contact\Contact + */ + public function getContact1() { + return $this->contact1; + } + + /** + * Set contact2 + * + * @param \Civi\Contact\Contact $contact2 + * @return Exception + */ + public function setContact2(\Civi\Contact\Contact $contact2 = null) { + $this->contact2 = $contact2; + return $this; + } + + /** + * Get contact2 + * + * @return \Civi\Contact\Contact + */ + public function getContact2() { + return $this->contact2; + } + +} + diff --git a/Civi/Dedupe/Rule.php b/Civi/Dedupe/Rule.php new file mode 100644 index 0000000000..66d0c1454d --- /dev/null +++ b/Civi/Dedupe/Rule.php @@ -0,0 +1,208 @@ +id; + } + + /** + * Set dedupeRuleGroup + * + * @param \Civi\Dedupe\RuleGroup $dedupeRuleGroup + * @return Rule + */ + public function setDedupeRuleGroup(\Civi\Dedupe\RuleGroup $dedupeRuleGroup = null) { + $this->dedupeRuleGroup = $dedupeRuleGroup; + return $this; + } + + /** + * Get dedupeRuleGroup + * + * @return \Civi\Dedupe\RuleGroup + */ + public function getDedupeRuleGroup() { + return $this->dedupeRuleGroup; + } + + /** + * Set ruleTable + * + * @param string $ruleTable + * @return Rule + */ + public function setRuleTable($ruleTable) { + $this->ruleTable = $ruleTable; + return $this; + } + + /** + * Get ruleTable + * + * @return string + */ + public function getRuleTable() { + return $this->ruleTable; + } + + /** + * Set ruleField + * + * @param string $ruleField + * @return Rule + */ + public function setRuleField($ruleField) { + $this->ruleField = $ruleField; + return $this; + } + + /** + * Get ruleField + * + * @return string + */ + public function getRuleField() { + return $this->ruleField; + } + + /** + * Set ruleLength + * + * @param integer $ruleLength + * @return Rule + */ + public function setRuleLength($ruleLength) { + $this->ruleLength = $ruleLength; + return $this; + } + + /** + * Get ruleLength + * + * @return integer + */ + public function getRuleLength() { + return $this->ruleLength; + } + + /** + * Set ruleWeight + * + * @param int $ruleWeight + * @return Rule + */ + public function setRuleWeight($ruleWeight) { + $this->ruleWeight = $ruleWeight; + return $this; + } + + /** + * Get ruleWeight + * + * @return int + */ + public function getRuleWeight() { + return $this->ruleWeight; + } + +} + diff --git a/Civi/Dedupe/RuleGroup.php b/Civi/Dedupe/RuleGroup.php new file mode 100644 index 0000000000..c0ae1c1b22 --- /dev/null +++ b/Civi/Dedupe/RuleGroup.php @@ -0,0 +1,236 @@ +id; + } + + /** + * Set contactType + * + * @param string $contactType + * @return RuleGroup + */ + public function setContactType($contactType) { + $this->contactType = $contactType; + return $this; + } + + /** + * Get contactType + * + * @return string + */ + public function getContactType() { + return $this->contactType; + } + + /** + * Set threshold + * + * @param int $threshold + * @return RuleGroup + */ + public function setThreshold($threshold) { + $this->threshold = $threshold; + return $this; + } + + /** + * Get threshold + * + * @return int + */ + public function getThreshold() { + return $this->threshold; + } + + /** + * Set used + * + * @param string $used + * @return RuleGroup + */ + public function setUsed($used) { + $this->used = $used; + return $this; + } + + /** + * Get used + * + * @return string + */ + public function getUsed() { + return $this->used; + } + + /** + * Set name + * + * @param string $name + * @return RuleGroup + */ + public function setName($name) { + $this->name = $name; + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() { + return $this->name; + } + + /** + * Set title + * + * @param string $title + * @return RuleGroup + */ + public function setTitle($title) { + $this->title = $title; + return $this; + } + + /** + * Get title + * + * @return string + */ + public function getTitle() { + return $this->title; + } + + /** + * Set isReserved + * + * @param boolean $isReserved + * @return RuleGroup + */ + public function setIsReserved($isReserved) { + $this->isReserved = $isReserved; + return $this; + } + + /** + * Get isReserved + * + * @return boolean + */ + public function getIsReserved() { + return $this->isReserved; + } + +} + diff --git a/Civi/Event/Cart/Cart.php b/Civi/Event/Cart/Cart.php new file mode 100644 index 0000000000..5359e30d33 --- /dev/null +++ b/Civi/Event/Cart/Cart.php @@ -0,0 +1,124 @@ +id; + } + + /** + * Set user + * + * @param \Civi\Contact\Contact $user + * @return Cart + */ + public function setUser(\Civi\Contact\Contact $user = null) { + $this->user = $user; + return $this; + } + + /** + * Get user + * + * @return \Civi\Contact\Contact + */ + public function getUser() { + return $this->user; + } + + /** + * Set completed + * + * @param boolean $completed + * @return Cart + */ + public function setCompleted($completed) { + $this->completed = $completed; + return $this; + } + + /** + * Get completed + * + * @return boolean + */ + public function getCompleted() { + return $this->completed; + } + +} + diff --git a/Civi/Event/Cart/EventInCart.php b/Civi/Event/Cart/EventInCart.php new file mode 100644 index 0000000000..67b9a9d8d8 --- /dev/null +++ b/Civi/Event/Cart/EventInCart.php @@ -0,0 +1,124 @@ +id; + } + + /** + * Set event + * + * @param \Civi\Event\Event $event + * @return EventInCart + */ + public function setEvent(\Civi\Event\Event $event = null) { + $this->event = $event; + return $this; + } + + /** + * Get event + * + * @return \Civi\Event\Event + */ + public function getEvent() { + return $this->event; + } + + /** + * Set eventCart + * + * @param \Civi\Event\Cart\Cart $eventCart + * @return EventInCart + */ + public function setEventCart(\Civi\Event\Cart\Cart $eventCart = null) { + $this->eventCart = $eventCart; + return $this; + } + + /** + * Get eventCart + * + * @return \Civi\Event\Cart\Cart + */ + public function getEventCart() { + return $this->eventCart; + } + +} + diff --git a/Civi/Event/Event.php b/Civi/Event/Event.php new file mode 100644 index 0000000000..9b1ae8ebfb --- /dev/null +++ b/Civi/Event/Event.php @@ -0,0 +1,1804 @@ +id; + } + + /** + * Set title + * + * @param string $title + * @return Event + */ + public function setTitle($title) { + $this->title = $title; + return $this; + } + + /** + * Get title + * + * @return string + */ + public function getTitle() { + return $this->title; + } + + /** + * Set summary + * + * @param text $summary + * @return Event + */ + public function setSummary($summary) { + $this->summary = $summary; + return $this; + } + + /** + * Get summary + * + * @return text + */ + public function getSummary() { + return $this->summary; + } + + /** + * Set description + * + * @param text $description + * @return Event + */ + public function setDescription($description) { + $this->description = $description; + return $this; + } + + /** + * Get description + * + * @return text + */ + public function getDescription() { + return $this->description; + } + + /** + * Set eventTypeId + * + * @param integer $eventTypeId + * @return Event + */ + public function setEventTypeId($eventTypeId) { + $this->eventTypeId = $eventTypeId; + return $this; + } + + /** + * Get eventTypeId + * + * @return integer + */ + public function getEventTypeId() { + return $this->eventTypeId; + } + + /** + * Set participantListingId + * + * @param integer $participantListingId + * @return Event + */ + public function setParticipantListingId($participantListingId) { + $this->participantListingId = $participantListingId; + return $this; + } + + /** + * Get participantListingId + * + * @return integer + */ + public function getParticipantListingId() { + return $this->participantListingId; + } + + /** + * Set isPublic + * + * @param boolean $isPublic + * @return Event + */ + public function setIsPublic($isPublic) { + $this->isPublic = $isPublic; + return $this; + } + + /** + * Get isPublic + * + * @return boolean + */ + public function getIsPublic() { + return $this->isPublic; + } + + /** + * Set startDate + * + * @param datetime $startDate + * @return Event + */ + public function setStartDate($startDate) { + $this->startDate = $startDate; + return $this; + } + + /** + * Get startDate + * + * @return datetime + */ + public function getStartDate() { + return $this->startDate; + } + + /** + * Set endDate + * + * @param datetime $endDate + * @return Event + */ + public function setEndDate($endDate) { + $this->endDate = $endDate; + return $this; + } + + /** + * Get endDate + * + * @return datetime + */ + public function getEndDate() { + return $this->endDate; + } + + /** + * Set isOnlineRegistration + * + * @param boolean $isOnlineRegistration + * @return Event + */ + public function setIsOnlineRegistration($isOnlineRegistration) { + $this->isOnlineRegistration = $isOnlineRegistration; + return $this; + } + + /** + * Get isOnlineRegistration + * + * @return boolean + */ + public function getIsOnlineRegistration() { + return $this->isOnlineRegistration; + } + + /** + * Set registrationLinkText + * + * @param string $registrationLinkText + * @return Event + */ + public function setRegistrationLinkText($registrationLinkText) { + $this->registrationLinkText = $registrationLinkText; + return $this; + } + + /** + * Get registrationLinkText + * + * @return string + */ + public function getRegistrationLinkText() { + return $this->registrationLinkText; + } + + /** + * Set registrationStartDate + * + * @param datetime $registrationStartDate + * @return Event + */ + public function setRegistrationStartDate($registrationStartDate) { + $this->registrationStartDate = $registrationStartDate; + return $this; + } + + /** + * Get registrationStartDate + * + * @return datetime + */ + public function getRegistrationStartDate() { + return $this->registrationStartDate; + } + + /** + * Set registrationEndDate + * + * @param datetime $registrationEndDate + * @return Event + */ + public function setRegistrationEndDate($registrationEndDate) { + $this->registrationEndDate = $registrationEndDate; + return $this; + } + + /** + * Get registrationEndDate + * + * @return datetime + */ + public function getRegistrationEndDate() { + return $this->registrationEndDate; + } + + /** + * Set maxParticipants + * + * @param integer $maxParticipants + * @return Event + */ + public function setMaxParticipants($maxParticipants) { + $this->maxParticipants = $maxParticipants; + return $this; + } + + /** + * Get maxParticipants + * + * @return integer + */ + public function getMaxParticipants() { + return $this->maxParticipants; + } + + /** + * Set eventFullText + * + * @param text $eventFullText + * @return Event + */ + public function setEventFullText($eventFullText) { + $this->eventFullText = $eventFullText; + return $this; + } + + /** + * Get eventFullText + * + * @return text + */ + public function getEventFullText() { + return $this->eventFullText; + } + + /** + * Set isMonetary + * + * @param boolean $isMonetary + * @return Event + */ + public function setIsMonetary($isMonetary) { + $this->isMonetary = $isMonetary; + return $this; + } + + /** + * Get isMonetary + * + * @return boolean + */ + public function getIsMonetary() { + return $this->isMonetary; + } + + /** + * Set financialTypeId + * + * @param integer $financialTypeId + * @return Event + */ + public function setFinancialTypeId($financialTypeId) { + $this->financialTypeId = $financialTypeId; + return $this; + } + + /** + * Get financialTypeId + * + * @return integer + */ + public function getFinancialTypeId() { + return $this->financialTypeId; + } + + /** + * Set paymentProcessor + * + * @param string $paymentProcessor + * @return Event + */ + public function setPaymentProcessor($paymentProcessor) { + $this->paymentProcessor = $paymentProcessor; + return $this; + } + + /** + * Get paymentProcessor + * + * @return string + */ + public function getPaymentProcessor() { + return $this->paymentProcessor; + } + + /** + * Set isMap + * + * @param boolean $isMap + * @return Event + */ + public function setIsMap($isMap) { + $this->isMap = $isMap; + return $this; + } + + /** + * Get isMap + * + * @return boolean + */ + public function getIsMap() { + return $this->isMap; + } + + /** + * Set isActive + * + * @param boolean $isActive + * @return Event + */ + public function setIsActive($isActive) { + $this->isActive = $isActive; + return $this; + } + + /** + * Get isActive + * + * @return boolean + */ + public function getIsActive() { + return $this->isActive; + } + + /** + * Set feeLabel + * + * @param string $feeLabel + * @return Event + */ + public function setFeeLabel($feeLabel) { + $this->feeLabel = $feeLabel; + return $this; + } + + /** + * Get feeLabel + * + * @return string + */ + public function getFeeLabel() { + return $this->feeLabel; + } + + /** + * Set isShowLocation + * + * @param boolean $isShowLocation + * @return Event + */ + public function setIsShowLocation($isShowLocation) { + $this->isShowLocation = $isShowLocation; + return $this; + } + + /** + * Get isShowLocation + * + * @return boolean + */ + public function getIsShowLocation() { + return $this->isShowLocation; + } + + /** + * Set locBlock + * + * @param \Civi\Core\LocBlock $locBlock + * @return Event + */ + public function setLocBlock(\Civi\Core\LocBlock $locBlock = null) { + $this->locBlock = $locBlock; + return $this; + } + + /** + * Get locBlock + * + * @return \Civi\Core\LocBlock + */ + public function getLocBlock() { + return $this->locBlock; + } + + /** + * Set defaultRoleId + * + * @param integer $defaultRoleId + * @return Event + */ + public function setDefaultRoleId($defaultRoleId) { + $this->defaultRoleId = $defaultRoleId; + return $this; + } + + /** + * Get defaultRoleId + * + * @return integer + */ + public function getDefaultRoleId() { + return $this->defaultRoleId; + } + + /** + * Set introText + * + * @param text $introText + * @return Event + */ + public function setIntroText($introText) { + $this->introText = $introText; + return $this; + } + + /** + * Get introText + * + * @return text + */ + public function getIntroText() { + return $this->introText; + } + + /** + * Set footerText + * + * @param text $footerText + * @return Event + */ + public function setFooterText($footerText) { + $this->footerText = $footerText; + return $this; + } + + /** + * Get footerText + * + * @return text + */ + public function getFooterText() { + return $this->footerText; + } + + /** + * Set confirmTitle + * + * @param string $confirmTitle + * @return Event + */ + public function setConfirmTitle($confirmTitle) { + $this->confirmTitle = $confirmTitle; + return $this; + } + + /** + * Get confirmTitle + * + * @return string + */ + public function getConfirmTitle() { + return $this->confirmTitle; + } + + /** + * Set confirmText + * + * @param text $confirmText + * @return Event + */ + public function setConfirmText($confirmText) { + $this->confirmText = $confirmText; + return $this; + } + + /** + * Get confirmText + * + * @return text + */ + public function getConfirmText() { + return $this->confirmText; + } + + /** + * Set confirmFooterText + * + * @param text $confirmFooterText + * @return Event + */ + public function setConfirmFooterText($confirmFooterText) { + $this->confirmFooterText = $confirmFooterText; + return $this; + } + + /** + * Get confirmFooterText + * + * @return text + */ + public function getConfirmFooterText() { + return $this->confirmFooterText; + } + + /** + * Set isEmailConfirm + * + * @param boolean $isEmailConfirm + * @return Event + */ + public function setIsEmailConfirm($isEmailConfirm) { + $this->isEmailConfirm = $isEmailConfirm; + return $this; + } + + /** + * Get isEmailConfirm + * + * @return boolean + */ + public function getIsEmailConfirm() { + return $this->isEmailConfirm; + } + + /** + * Set confirmEmailText + * + * @param text $confirmEmailText + * @return Event + */ + public function setConfirmEmailText($confirmEmailText) { + $this->confirmEmailText = $confirmEmailText; + return $this; + } + + /** + * Get confirmEmailText + * + * @return text + */ + public function getConfirmEmailText() { + return $this->confirmEmailText; + } + + /** + * Set confirmFromName + * + * @param string $confirmFromName + * @return Event + */ + public function setConfirmFromName($confirmFromName) { + $this->confirmFromName = $confirmFromName; + return $this; + } + + /** + * Get confirmFromName + * + * @return string + */ + public function getConfirmFromName() { + return $this->confirmFromName; + } + + /** + * Set confirmFromEmail + * + * @param string $confirmFromEmail + * @return Event + */ + public function setConfirmFromEmail($confirmFromEmail) { + $this->confirmFromEmail = $confirmFromEmail; + return $this; + } + + /** + * Get confirmFromEmail + * + * @return string + */ + public function getConfirmFromEmail() { + return $this->confirmFromEmail; + } + + /** + * Set ccConfirm + * + * @param string $ccConfirm + * @return Event + */ + public function setCcConfirm($ccConfirm) { + $this->ccConfirm = $ccConfirm; + return $this; + } + + /** + * Get ccConfirm + * + * @return string + */ + public function getCcConfirm() { + return $this->ccConfirm; + } + + /** + * Set bccConfirm + * + * @param string $bccConfirm + * @return Event + */ + public function setBccConfirm($bccConfirm) { + $this->bccConfirm = $bccConfirm; + return $this; + } + + /** + * Get bccConfirm + * + * @return string + */ + public function getBccConfirm() { + return $this->bccConfirm; + } + + /** + * Set defaultFeeId + * + * @param integer $defaultFeeId + * @return Event + */ + public function setDefaultFeeId($defaultFeeId) { + $this->defaultFeeId = $defaultFeeId; + return $this; + } + + /** + * Get defaultFeeId + * + * @return integer + */ + public function getDefaultFeeId() { + return $this->defaultFeeId; + } + + /** + * Set defaultDiscountFeeId + * + * @param integer $defaultDiscountFeeId + * @return Event + */ + public function setDefaultDiscountFeeId($defaultDiscountFeeId) { + $this->defaultDiscountFeeId = $defaultDiscountFeeId; + return $this; + } + + /** + * Get defaultDiscountFeeId + * + * @return integer + */ + public function getDefaultDiscountFeeId() { + return $this->defaultDiscountFeeId; + } + + /** + * Set thankyouTitle + * + * @param string $thankyouTitle + * @return Event + */ + public function setThankyouTitle($thankyouTitle) { + $this->thankyouTitle = $thankyouTitle; + return $this; + } + + /** + * Get thankyouTitle + * + * @return string + */ + public function getThankyouTitle() { + return $this->thankyouTitle; + } + + /** + * Set thankyouText + * + * @param text $thankyouText + * @return Event + */ + public function setThankyouText($thankyouText) { + $this->thankyouText = $thankyouText; + return $this; + } + + /** + * Get thankyouText + * + * @return text + */ + public function getThankyouText() { + return $this->thankyouText; + } + + /** + * Set thankyouFooterText + * + * @param text $thankyouFooterText + * @return Event + */ + public function setThankyouFooterText($thankyouFooterText) { + $this->thankyouFooterText = $thankyouFooterText; + return $this; + } + + /** + * Get thankyouFooterText + * + * @return text + */ + public function getThankyouFooterText() { + return $this->thankyouFooterText; + } + + /** + * Set isPayLater + * + * @param boolean $isPayLater + * @return Event + */ + public function setIsPayLater($isPayLater) { + $this->isPayLater = $isPayLater; + return $this; + } + + /** + * Get isPayLater + * + * @return boolean + */ + public function getIsPayLater() { + return $this->isPayLater; + } + + /** + * Set payLaterText + * + * @param text $payLaterText + * @return Event + */ + public function setPayLaterText($payLaterText) { + $this->payLaterText = $payLaterText; + return $this; + } + + /** + * Get payLaterText + * + * @return text + */ + public function getPayLaterText() { + return $this->payLaterText; + } + + /** + * Set payLaterReceipt + * + * @param text $payLaterReceipt + * @return Event + */ + public function setPayLaterReceipt($payLaterReceipt) { + $this->payLaterReceipt = $payLaterReceipt; + return $this; + } + + /** + * Get payLaterReceipt + * + * @return text + */ + public function getPayLaterReceipt() { + return $this->payLaterReceipt; + } + + /** + * Set isPartialPayment + * + * @param boolean $isPartialPayment + * @return Event + */ + public function setIsPartialPayment($isPartialPayment) { + $this->isPartialPayment = $isPartialPayment; + return $this; + } + + /** + * Get isPartialPayment + * + * @return boolean + */ + public function getIsPartialPayment() { + return $this->isPartialPayment; + } + + /** + * Set initialAmountLabel + * + * @param string $initialAmountLabel + * @return Event + */ + public function setInitialAmountLabel($initialAmountLabel) { + $this->initialAmountLabel = $initialAmountLabel; + return $this; + } + + /** + * Get initialAmountLabel + * + * @return string + */ + public function getInitialAmountLabel() { + return $this->initialAmountLabel; + } + + /** + * Set initialAmountHelpText + * + * @param text $initialAmountHelpText + * @return Event + */ + public function setInitialAmountHelpText($initialAmountHelpText) { + $this->initialAmountHelpText = $initialAmountHelpText; + return $this; + } + + /** + * Get initialAmountHelpText + * + * @return text + */ + public function getInitialAmountHelpText() { + return $this->initialAmountHelpText; + } + + /** + * Set minInitialAmount + * + * @param float $minInitialAmount + * @return Event + */ + public function setMinInitialAmount($minInitialAmount) { + $this->minInitialAmount = $minInitialAmount; + return $this; + } + + /** + * Get minInitialAmount + * + * @return float + */ + public function getMinInitialAmount() { + return $this->minInitialAmount; + } + + /** + * Set isMultipleRegistrations + * + * @param boolean $isMultipleRegistrations + * @return Event + */ + public function setIsMultipleRegistrations($isMultipleRegistrations) { + $this->isMultipleRegistrations = $isMultipleRegistrations; + return $this; + } + + /** + * Get isMultipleRegistrations + * + * @return boolean + */ + public function getIsMultipleRegistrations() { + return $this->isMultipleRegistrations; + } + + /** + * Set allowSameParticipantEmails + * + * @param boolean $allowSameParticipantEmails + * @return Event + */ + public function setAllowSameParticipantEmails($allowSameParticipantEmails) { + $this->allowSameParticipantEmails = $allowSameParticipantEmails; + return $this; + } + + /** + * Get allowSameParticipantEmails + * + * @return boolean + */ + public function getAllowSameParticipantEmails() { + return $this->allowSameParticipantEmails; + } + + /** + * Set hasWaitlist + * + * @param boolean $hasWaitlist + * @return Event + */ + public function setHasWaitlist($hasWaitlist) { + $this->hasWaitlist = $hasWaitlist; + return $this; + } + + /** + * Get hasWaitlist + * + * @return boolean + */ + public function getHasWaitlist() { + return $this->hasWaitlist; + } + + /** + * Set requiresApproval + * + * @param boolean $requiresApproval + * @return Event + */ + public function setRequiresApproval($requiresApproval) { + $this->requiresApproval = $requiresApproval; + return $this; + } + + /** + * Get requiresApproval + * + * @return boolean + */ + public function getRequiresApproval() { + return $this->requiresApproval; + } + + /** + * Set expirationTime + * + * @param integer $expirationTime + * @return Event + */ + public function setExpirationTime($expirationTime) { + $this->expirationTime = $expirationTime; + return $this; + } + + /** + * Get expirationTime + * + * @return integer + */ + public function getExpirationTime() { + return $this->expirationTime; + } + + /** + * Set waitlistText + * + * @param text $waitlistText + * @return Event + */ + public function setWaitlistText($waitlistText) { + $this->waitlistText = $waitlistText; + return $this; + } + + /** + * Get waitlistText + * + * @return text + */ + public function getWaitlistText() { + return $this->waitlistText; + } + + /** + * Set approvalReqText + * + * @param text $approvalReqText + * @return Event + */ + public function setApprovalReqText($approvalReqText) { + $this->approvalReqText = $approvalReqText; + return $this; + } + + /** + * Get approvalReqText + * + * @return text + */ + public function getApprovalReqText() { + return $this->approvalReqText; + } + + /** + * Set isTemplate + * + * @param boolean $isTemplate + * @return Event + */ + public function setIsTemplate($isTemplate) { + $this->isTemplate = $isTemplate; + return $this; + } + + /** + * Get isTemplate + * + * @return boolean + */ + public function getIsTemplate() { + return $this->isTemplate; + } + + /** + * Set templateTitle + * + * @param string $templateTitle + * @return Event + */ + public function setTemplateTitle($templateTitle) { + $this->templateTitle = $templateTitle; + return $this; + } + + /** + * Get templateTitle + * + * @return string + */ + public function getTemplateTitle() { + return $this->templateTitle; + } + + /** + * Set created + * + * @param \Civi\Contact\Contact $created + * @return Event + */ + public function setCreated(\Civi\Contact\Contact $created = null) { + $this->created = $created; + return $this; + } + + /** + * Get created + * + * @return \Civi\Contact\Contact + */ + public function getCreated() { + return $this->created; + } + + /** + * Set createdDate + * + * @param datetime $createdDate + * @return Event + */ + public function setCreatedDate($createdDate) { + $this->createdDate = $createdDate; + return $this; + } + + /** + * Get createdDate + * + * @return datetime + */ + public function getCreatedDate() { + return $this->createdDate; + } + + /** + * Set currency + * + * @param string $currency + * @return Event + */ + public function setCurrency($currency) { + $this->currency = $currency; + return $this; + } + + /** + * Get currency + * + * @return string + */ + public function getCurrency() { + return $this->currency; + } + + /** + * Set campaign + * + * @param \Civi\Campaign\Campaign $campaign + * @return Event + */ + public function setCampaign(\Civi\Campaign\Campaign $campaign = null) { + $this->campaign = $campaign; + return $this; + } + + /** + * Get campaign + * + * @return \Civi\Campaign\Campaign + */ + public function getCampaign() { + return $this->campaign; + } + + /** + * Set isShare + * + * @param boolean $isShare + * @return Event + */ + public function setIsShare($isShare) { + $this->isShare = $isShare; + return $this; + } + + /** + * Get isShare + * + * @return boolean + */ + public function getIsShare() { + return $this->isShare; + } + + /** + * Set parentEventId + * + * @param integer $parentEventId + * @return Event + */ + public function setParentEventId($parentEventId) { + $this->parentEventId = $parentEventId; + return $this; + } + + /** + * Get parentEventId + * + * @return integer + */ + public function getParentEventId() { + return $this->parentEventId; + } + + /** + * Set slotLabelId + * + * @param integer $slotLabelId + * @return Event + */ + public function setSlotLabelId($slotLabelId) { + $this->slotLabelId = $slotLabelId; + return $this; + } + + /** + * Get slotLabelId + * + * @return integer + */ + public function getSlotLabelId() { + return $this->slotLabelId; + } + +} + diff --git a/Civi/Event/Participant.php b/Civi/Event/Participant.php new file mode 100644 index 0000000000..56d52f1809 --- /dev/null +++ b/Civi/Event/Participant.php @@ -0,0 +1,544 @@ +id; + } + + /** + * Set contact + * + * @param \Civi\Contact\Contact $contact + * @return Participant + */ + public function setContact(\Civi\Contact\Contact $contact = null) { + $this->contact = $contact; + return $this; + } + + /** + * Get contact + * + * @return \Civi\Contact\Contact + */ + public function getContact() { + return $this->contact; + } + + /** + * Set event + * + * @param \Civi\Event\Event $event + * @return Participant + */ + public function setEvent(\Civi\Event\Event $event = null) { + $this->event = $event; + return $this; + } + + /** + * Get event + * + * @return \Civi\Event\Event + */ + public function getEvent() { + return $this->event; + } + + /** + * Set status + * + * @param \Civi\Event\ParticipantStatusType $status + * @return Participant + */ + public function setStatus(\Civi\Event\ParticipantStatusType $status = null) { + $this->status = $status; + return $this; + } + + /** + * Get status + * + * @return \Civi\Event\ParticipantStatusType + */ + public function getStatus() { + return $this->status; + } + + /** + * Set roleId + * + * @param string $roleId + * @return Participant + */ + public function setRoleId($roleId) { + $this->roleId = $roleId; + return $this; + } + + /** + * Get roleId + * + * @return string + */ + public function getRoleId() { + return $this->roleId; + } + + /** + * Set registerDate + * + * @param datetime $registerDate + * @return Participant + */ + public function setRegisterDate($registerDate) { + $this->registerDate = $registerDate; + return $this; + } + + /** + * Get registerDate + * + * @return datetime + */ + public function getRegisterDate() { + return $this->registerDate; + } + + /** + * Set source + * + * @param string $source + * @return Participant + */ + public function setSource($source) { + $this->source = $source; + return $this; + } + + /** + * Get source + * + * @return string + */ + public function getSource() { + return $this->source; + } + + /** + * Set feeLevel + * + * @param text $feeLevel + * @return Participant + */ + public function setFeeLevel($feeLevel) { + $this->feeLevel = $feeLevel; + return $this; + } + + /** + * Get feeLevel + * + * @return text + */ + public function getFeeLevel() { + return $this->feeLevel; + } + + /** + * Set isTest + * + * @param boolean $isTest + * @return Participant + */ + public function setIsTest($isTest) { + $this->isTest = $isTest; + return $this; + } + + /** + * Get isTest + * + * @return boolean + */ + public function getIsTest() { + return $this->isTest; + } + + /** + * Set isPayLater + * + * @param boolean $isPayLater + * @return Participant + */ + public function setIsPayLater($isPayLater) { + $this->isPayLater = $isPayLater; + return $this; + } + + /** + * Get isPayLater + * + * @return boolean + */ + public function getIsPayLater() { + return $this->isPayLater; + } + + /** + * Set feeAmount + * + * @param float $feeAmount + * @return Participant + */ + public function setFeeAmount($feeAmount) { + $this->feeAmount = $feeAmount; + return $this; + } + + /** + * Get feeAmount + * + * @return float + */ + public function getFeeAmount() { + return $this->feeAmount; + } + + /** + * Set registeredBy + * + * @param \Civi\Event\Participant $registeredBy + * @return Participant + */ + public function setRegisteredBy(\Civi\Event\Participant $registeredBy = null) { + $this->registeredBy = $registeredBy; + return $this; + } + + /** + * Get registeredBy + * + * @return \Civi\Event\Participant + */ + public function getRegisteredBy() { + return $this->registeredBy; + } + + /** + * Set discount + * + * @param \Civi\Core\Discount $discount + * @return Participant + */ + public function setDiscount(\Civi\Core\Discount $discount = null) { + $this->discount = $discount; + return $this; + } + + /** + * Get discount + * + * @return \Civi\Core\Discount + */ + public function getDiscount() { + return $this->discount; + } + + /** + * Set feeCurrency + * + * @param string $feeCurrency + * @return Participant + */ + public function setFeeCurrency($feeCurrency) { + $this->feeCurrency = $feeCurrency; + return $this; + } + + /** + * Get feeCurrency + * + * @return string + */ + public function getFeeCurrency() { + return $this->feeCurrency; + } + + /** + * Set campaign + * + * @param \Civi\Campaign\Campaign $campaign + * @return Participant + */ + public function setCampaign(\Civi\Campaign\Campaign $campaign = null) { + $this->campaign = $campaign; + return $this; + } + + /** + * Get campaign + * + * @return \Civi\Campaign\Campaign + */ + public function getCampaign() { + return $this->campaign; + } + + /** + * Set discountAmount + * + * @param integer $discountAmount + * @return Participant + */ + public function setDiscountAmount($discountAmount) { + $this->discountAmount = $discountAmount; + return $this; + } + + /** + * Get discountAmount + * + * @return integer + */ + public function getDiscountAmount() { + return $this->discountAmount; + } + + /** + * Set cart + * + * @param \Civi\Event\Cart\Cart $cart + * @return Participant + */ + public function setCart(\Civi\Event\Cart\Cart $cart = null) { + $this->cart = $cart; + return $this; + } + + /** + * Get cart + * + * @return \Civi\Event\Cart\Cart + */ + public function getCart() { + return $this->cart; + } + + /** + * Set mustWait + * + * @param int $mustWait + * @return Participant + */ + public function setMustWait($mustWait) { + $this->mustWait = $mustWait; + return $this; + } + + /** + * Get mustWait + * + * @return int + */ + public function getMustWait() { + return $this->mustWait; + } + +} + diff --git a/Civi/Event/ParticipantPayment.php b/Civi/Event/ParticipantPayment.php new file mode 100644 index 0000000000..cd554377fa --- /dev/null +++ b/Civi/Event/ParticipantPayment.php @@ -0,0 +1,124 @@ +id; + } + + /** + * Set participant + * + * @param \Civi\Event\Participant $participant + * @return ParticipantPayment + */ + public function setParticipant(\Civi\Event\Participant $participant = null) { + $this->participant = $participant; + return $this; + } + + /** + * Get participant + * + * @return \Civi\Event\Participant + */ + public function getParticipant() { + return $this->participant; + } + + /** + * Set contribution + * + * @param \Civi\Contribute\Contribution $contribution + * @return ParticipantPayment + */ + public function setContribution(\Civi\Contribute\Contribution $contribution = null) { + $this->contribution = $contribution; + return $this; + } + + /** + * Get contribution + * + * @return \Civi\Contribute\Contribution + */ + public function getContribution() { + return $this->contribution; + } + +} + diff --git a/Civi/Event/ParticipantStatusType.php b/Civi/Event/ParticipantStatusType.php new file mode 100644 index 0000000000..112f1efbb2 --- /dev/null +++ b/Civi/Event/ParticipantStatusType.php @@ -0,0 +1,292 @@ +id; + } + + /** + * Set name + * + * @param string $name + * @return ParticipantStatusType + */ + public function setName($name) { + $this->name = $name; + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() { + return $this->name; + } + + /** + * Set label + * + * @param string $label + * @return ParticipantStatusType + */ + public function setLabel($label) { + $this->label = $label; + return $this; + } + + /** + * Get label + * + * @return string + */ + public function getLabel() { + return $this->label; + } + + /** + * Set class + * + * @param string $class + * @return ParticipantStatusType + */ + public function setClass($class) { + $this->class = $class; + return $this; + } + + /** + * Get class + * + * @return string + */ + public function getClass() { + return $this->class; + } + + /** + * Set isReserved + * + * @param boolean $isReserved + * @return ParticipantStatusType + */ + public function setIsReserved($isReserved) { + $this->isReserved = $isReserved; + return $this; + } + + /** + * Get isReserved + * + * @return boolean + */ + public function getIsReserved() { + return $this->isReserved; + } + + /** + * Set isActive + * + * @param boolean $isActive + * @return ParticipantStatusType + */ + public function setIsActive($isActive) { + $this->isActive = $isActive; + return $this; + } + + /** + * Get isActive + * + * @return boolean + */ + public function getIsActive() { + return $this->isActive; + } + + /** + * Set isCounted + * + * @param boolean $isCounted + * @return ParticipantStatusType + */ + public function setIsCounted($isCounted) { + $this->isCounted = $isCounted; + return $this; + } + + /** + * Get isCounted + * + * @return boolean + */ + public function getIsCounted() { + return $this->isCounted; + } + + /** + * Set weight + * + * @param integer $weight + * @return ParticipantStatusType + */ + public function setWeight($weight) { + $this->weight = $weight; + return $this; + } + + /** + * Get weight + * + * @return integer + */ + public function getWeight() { + return $this->weight; + } + + /** + * Set visibilityId + * + * @param integer $visibilityId + * @return ParticipantStatusType + */ + public function setVisibilityId($visibilityId) { + $this->visibilityId = $visibilityId; + return $this; + } + + /** + * Get visibilityId + * + * @return integer + */ + public function getVisibilityId() { + return $this->visibilityId; + } + +} + diff --git a/Civi/Financial/Currency.php b/Civi/Financial/Currency.php new file mode 100644 index 0000000000..c4e15cc349 --- /dev/null +++ b/Civi/Financial/Currency.php @@ -0,0 +1,180 @@ +id; + } + + /** + * Set name + * + * @param string $name + * @return Currency + */ + public function setName($name) { + $this->name = $name; + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() { + return $this->name; + } + + /** + * Set symbol + * + * @param string $symbol + * @return Currency + */ + public function setSymbol($symbol) { + $this->symbol = $symbol; + return $this; + } + + /** + * Get symbol + * + * @return string + */ + public function getSymbol() { + return $this->symbol; + } + + /** + * Set numericCode + * + * @param string $numericCode + * @return Currency + */ + public function setNumericCode($numericCode) { + $this->numericCode = $numericCode; + return $this; + } + + /** + * Get numericCode + * + * @return string + */ + public function getNumericCode() { + return $this->numericCode; + } + + /** + * Set fullName + * + * @param string $fullName + * @return Currency + */ + public function setFullName($fullName) { + $this->fullName = $fullName; + return $this; + } + + /** + * Get fullName + * + * @return string + */ + public function getFullName() { + return $this->fullName; + } + +} + diff --git a/Civi/Financial/EntityFinancialAccount.php b/Civi/Financial/EntityFinancialAccount.php new file mode 100644 index 0000000000..6afcf4b8c6 --- /dev/null +++ b/Civi/Financial/EntityFinancialAccount.php @@ -0,0 +1,180 @@ +id; + } + + /** + * Set entityTable + * + * @param string $entityTable + * @return EntityFinancialAccount + */ + public function setEntityTable($entityTable) { + $this->entityTable = $entityTable; + return $this; + } + + /** + * Get entityTable + * + * @return string + */ + public function getEntityTable() { + return $this->entityTable; + } + + /** + * Set entityId + * + * @param integer $entityId + * @return EntityFinancialAccount + */ + public function setEntityId($entityId) { + $this->entityId = $entityId; + return $this; + } + + /** + * Get entityId + * + * @return integer + */ + public function getEntityId() { + return $this->entityId; + } + + /** + * Set accountRelationship + * + * @param integer $accountRelationship + * @return EntityFinancialAccount + */ + public function setAccountRelationship($accountRelationship) { + $this->accountRelationship = $accountRelationship; + return $this; + } + + /** + * Get accountRelationship + * + * @return integer + */ + public function getAccountRelationship() { + return $this->accountRelationship; + } + + /** + * Set financialAccount + * + * @param \Civi\Financial\FinancialAccount $financialAccount + * @return EntityFinancialAccount + */ + public function setFinancialAccount(\Civi\Financial\FinancialAccount $financialAccount = null) { + $this->financialAccount = $financialAccount; + return $this; + } + + /** + * Get financialAccount + * + * @return \Civi\Financial\FinancialAccount + */ + public function getFinancialAccount() { + return $this->financialAccount; + } + +} + diff --git a/Civi/Financial/EntityFinancialTrxn.php b/Civi/Financial/EntityFinancialTrxn.php new file mode 100644 index 0000000000..f6e6e81bcd --- /dev/null +++ b/Civi/Financial/EntityFinancialTrxn.php @@ -0,0 +1,180 @@ +id; + } + + /** + * Set entityTable + * + * @param string $entityTable + * @return EntityFinancialTrxn + */ + public function setEntityTable($entityTable) { + $this->entityTable = $entityTable; + return $this; + } + + /** + * Get entityTable + * + * @return string + */ + public function getEntityTable() { + return $this->entityTable; + } + + /** + * Set entityId + * + * @param integer $entityId + * @return EntityFinancialTrxn + */ + public function setEntityId($entityId) { + $this->entityId = $entityId; + return $this; + } + + /** + * Get entityId + * + * @return integer + */ + public function getEntityId() { + return $this->entityId; + } + + /** + * Set financialTrxn + * + * @param \Civi\Financial\FinancialTrxn $financialTrxn + * @return EntityFinancialTrxn + */ + public function setFinancialTrxn(\Civi\Financial\FinancialTrxn $financialTrxn = null) { + $this->financialTrxn = $financialTrxn; + return $this; + } + + /** + * Get financialTrxn + * + * @return \Civi\Financial\FinancialTrxn + */ + public function getFinancialTrxn() { + return $this->financialTrxn; + } + + /** + * Set amount + * + * @param float $amount + * @return EntityFinancialTrxn + */ + public function setAmount($amount) { + $this->amount = $amount; + return $this; + } + + /** + * Get amount + * + * @return float + */ + public function getAmount() { + return $this->amount; + } + +} + diff --git a/Civi/Financial/FinancialAccount.php b/Civi/Financial/FinancialAccount.php new file mode 100644 index 0000000000..12603d1d85 --- /dev/null +++ b/Civi/Financial/FinancialAccount.php @@ -0,0 +1,460 @@ +id; + } + + /** + * Set name + * + * @param string $name + * @return FinancialAccount + */ + public function setName($name) { + $this->name = $name; + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() { + return $this->name; + } + + /** + * Set contact + * + * @param \Civi\Contact\Contact $contact + * @return FinancialAccount + */ + public function setContact(\Civi\Contact\Contact $contact = null) { + $this->contact = $contact; + return $this; + } + + /** + * Get contact + * + * @return \Civi\Contact\Contact + */ + public function getContact() { + return $this->contact; + } + + /** + * Set financialAccountTypeId + * + * @param integer $financialAccountTypeId + * @return FinancialAccount + */ + public function setFinancialAccountTypeId($financialAccountTypeId) { + $this->financialAccountTypeId = $financialAccountTypeId; + return $this; + } + + /** + * Get financialAccountTypeId + * + * @return integer + */ + public function getFinancialAccountTypeId() { + return $this->financialAccountTypeId; + } + + /** + * Set accountingCode + * + * @param string $accountingCode + * @return FinancialAccount + */ + public function setAccountingCode($accountingCode) { + $this->accountingCode = $accountingCode; + return $this; + } + + /** + * Get accountingCode + * + * @return string + */ + public function getAccountingCode() { + return $this->accountingCode; + } + + /** + * Set accountTypeCode + * + * @param string $accountTypeCode + * @return FinancialAccount + */ + public function setAccountTypeCode($accountTypeCode) { + $this->accountTypeCode = $accountTypeCode; + return $this; + } + + /** + * Get accountTypeCode + * + * @return string + */ + public function getAccountTypeCode() { + return $this->accountTypeCode; + } + + /** + * Set description + * + * @param string $description + * @return FinancialAccount + */ + public function setDescription($description) { + $this->description = $description; + return $this; + } + + /** + * Get description + * + * @return string + */ + public function getDescription() { + return $this->description; + } + + /** + * Set parent + * + * @param \Civi\Financial\FinancialAccount $parent + * @return FinancialAccount + */ + public function setParent(\Civi\Financial\FinancialAccount $parent = null) { + $this->parent = $parent; + return $this; + } + + /** + * Get parent + * + * @return \Civi\Financial\FinancialAccount + */ + public function getParent() { + return $this->parent; + } + + /** + * Set isHeaderAccount + * + * @param boolean $isHeaderAccount + * @return FinancialAccount + */ + public function setIsHeaderAccount($isHeaderAccount) { + $this->isHeaderAccount = $isHeaderAccount; + return $this; + } + + /** + * Get isHeaderAccount + * + * @return boolean + */ + public function getIsHeaderAccount() { + return $this->isHeaderAccount; + } + + /** + * Set isDeductible + * + * @param boolean $isDeductible + * @return FinancialAccount + */ + public function setIsDeductible($isDeductible) { + $this->isDeductible = $isDeductible; + return $this; + } + + /** + * Get isDeductible + * + * @return boolean + */ + public function getIsDeductible() { + return $this->isDeductible; + } + + /** + * Set isTax + * + * @param boolean $isTax + * @return FinancialAccount + */ + public function setIsTax($isTax) { + $this->isTax = $isTax; + return $this; + } + + /** + * Get isTax + * + * @return boolean + */ + public function getIsTax() { + return $this->isTax; + } + + /** + * Set taxRate + * + * @param float $taxRate + * @return FinancialAccount + */ + public function setTaxRate($taxRate) { + $this->taxRate = $taxRate; + return $this; + } + + /** + * Get taxRate + * + * @return float + */ + public function getTaxRate() { + return $this->taxRate; + } + + /** + * Set isReserved + * + * @param boolean $isReserved + * @return FinancialAccount + */ + public function setIsReserved($isReserved) { + $this->isReserved = $isReserved; + return $this; + } + + /** + * Get isReserved + * + * @return boolean + */ + public function getIsReserved() { + return $this->isReserved; + } + + /** + * Set isActive + * + * @param boolean $isActive + * @return FinancialAccount + */ + public function setIsActive($isActive) { + $this->isActive = $isActive; + return $this; + } + + /** + * Get isActive + * + * @return boolean + */ + public function getIsActive() { + return $this->isActive; + } + + /** + * Set isDefault + * + * @param boolean $isDefault + * @return FinancialAccount + */ + public function setIsDefault($isDefault) { + $this->isDefault = $isDefault; + return $this; + } + + /** + * Get isDefault + * + * @return boolean + */ + public function getIsDefault() { + return $this->isDefault; + } + +} + diff --git a/Civi/Financial/FinancialItem.php b/Civi/Financial/FinancialItem.php new file mode 100644 index 0000000000..d8a0ab6a27 --- /dev/null +++ b/Civi/Financial/FinancialItem.php @@ -0,0 +1,348 @@ +id; + } + + /** + * Set createdDate + * + * @param timestamp $createdDate + * @return FinancialItem + */ + public function setCreatedDate($createdDate) { + $this->createdDate = $createdDate; + return $this; + } + + /** + * Get createdDate + * + * @return timestamp + */ + public function getCreatedDate() { + return $this->createdDate; + } + + /** + * Set transactionDate + * + * @param datetime $transactionDate + * @return FinancialItem + */ + public function setTransactionDate($transactionDate) { + $this->transactionDate = $transactionDate; + return $this; + } + + /** + * Get transactionDate + * + * @return datetime + */ + public function getTransactionDate() { + return $this->transactionDate; + } + + /** + * Set contact + * + * @param \Civi\Contact\Contact $contact + * @return FinancialItem + */ + public function setContact(\Civi\Contact\Contact $contact = null) { + $this->contact = $contact; + return $this; + } + + /** + * Get contact + * + * @return \Civi\Contact\Contact + */ + public function getContact() { + return $this->contact; + } + + /** + * Set description + * + * @param string $description + * @return FinancialItem + */ + public function setDescription($description) { + $this->description = $description; + return $this; + } + + /** + * Get description + * + * @return string + */ + public function getDescription() { + return $this->description; + } + + /** + * Set amount + * + * @param float $amount + * @return FinancialItem + */ + public function setAmount($amount) { + $this->amount = $amount; + return $this; + } + + /** + * Get amount + * + * @return float + */ + public function getAmount() { + return $this->amount; + } + + /** + * Set currency + * + * @param string $currency + * @return FinancialItem + */ + public function setCurrency($currency) { + $this->currency = $currency; + return $this; + } + + /** + * Get currency + * + * @return string + */ + public function getCurrency() { + return $this->currency; + } + + /** + * Set financialAccount + * + * @param \Civi\Financial\FinancialAccount $financialAccount + * @return FinancialItem + */ + public function setFinancialAccount(\Civi\Financial\FinancialAccount $financialAccount = null) { + $this->financialAccount = $financialAccount; + return $this; + } + + /** + * Get financialAccount + * + * @return \Civi\Financial\FinancialAccount + */ + public function getFinancialAccount() { + return $this->financialAccount; + } + + /** + * Set statusId + * + * @param integer $statusId + * @return FinancialItem + */ + public function setStatusId($statusId) { + $this->statusId = $statusId; + return $this; + } + + /** + * Get statusId + * + * @return integer + */ + public function getStatusId() { + return $this->statusId; + } + + /** + * Set entityTable + * + * @param string $entityTable + * @return FinancialItem + */ + public function setEntityTable($entityTable) { + $this->entityTable = $entityTable; + return $this; + } + + /** + * Get entityTable + * + * @return string + */ + public function getEntityTable() { + return $this->entityTable; + } + + /** + * Set entityId + * + * @param integer $entityId + * @return FinancialItem + */ + public function setEntityId($entityId) { + $this->entityId = $entityId; + return $this; + } + + /** + * Get entityId + * + * @return integer + */ + public function getEntityId() { + return $this->entityId; + } + +} + diff --git a/Civi/Financial/FinancialTrxn.php b/Civi/Financial/FinancialTrxn.php new file mode 100644 index 0000000000..ab491ac45e --- /dev/null +++ b/Civi/Financial/FinancialTrxn.php @@ -0,0 +1,432 @@ +id; + } + + /** + * Set fromFinancialAccount + * + * @param \Civi\Financial\FinancialAccount $fromFinancialAccount + * @return FinancialTrxn + */ + public function setFromFinancialAccount(\Civi\Financial\FinancialAccount $fromFinancialAccount = null) { + $this->fromFinancialAccount = $fromFinancialAccount; + return $this; + } + + /** + * Get fromFinancialAccount + * + * @return \Civi\Financial\FinancialAccount + */ + public function getFromFinancialAccount() { + return $this->fromFinancialAccount; + } + + /** + * Set toFinancialAccount + * + * @param \Civi\Financial\FinancialAccount $toFinancialAccount + * @return FinancialTrxn + */ + public function setToFinancialAccount(\Civi\Financial\FinancialAccount $toFinancialAccount = null) { + $this->toFinancialAccount = $toFinancialAccount; + return $this; + } + + /** + * Get toFinancialAccount + * + * @return \Civi\Financial\FinancialAccount + */ + public function getToFinancialAccount() { + return $this->toFinancialAccount; + } + + /** + * Set trxnDate + * + * @param datetime $trxnDate + * @return FinancialTrxn + */ + public function setTrxnDate($trxnDate) { + $this->trxnDate = $trxnDate; + return $this; + } + + /** + * Get trxnDate + * + * @return datetime + */ + public function getTrxnDate() { + return $this->trxnDate; + } + + /** + * Set totalAmount + * + * @param float $totalAmount + * @return FinancialTrxn + */ + public function setTotalAmount($totalAmount) { + $this->totalAmount = $totalAmount; + return $this; + } + + /** + * Get totalAmount + * + * @return float + */ + public function getTotalAmount() { + return $this->totalAmount; + } + + /** + * Set feeAmount + * + * @param float $feeAmount + * @return FinancialTrxn + */ + public function setFeeAmount($feeAmount) { + $this->feeAmount = $feeAmount; + return $this; + } + + /** + * Get feeAmount + * + * @return float + */ + public function getFeeAmount() { + return $this->feeAmount; + } + + /** + * Set netAmount + * + * @param float $netAmount + * @return FinancialTrxn + */ + public function setNetAmount($netAmount) { + $this->netAmount = $netAmount; + return $this; + } + + /** + * Get netAmount + * + * @return float + */ + public function getNetAmount() { + return $this->netAmount; + } + + /** + * Set currency + * + * @param string $currency + * @return FinancialTrxn + */ + public function setCurrency($currency) { + $this->currency = $currency; + return $this; + } + + /** + * Get currency + * + * @return string + */ + public function getCurrency() { + return $this->currency; + } + + /** + * Set trxnId + * + * @param string $trxnId + * @return FinancialTrxn + */ + public function setTrxnId($trxnId) { + $this->trxnId = $trxnId; + return $this; + } + + /** + * Get trxnId + * + * @return string + */ + public function getTrxnId() { + return $this->trxnId; + } + + /** + * Set trxnResultCode + * + * @param string $trxnResultCode + * @return FinancialTrxn + */ + public function setTrxnResultCode($trxnResultCode) { + $this->trxnResultCode = $trxnResultCode; + return $this; + } + + /** + * Get trxnResultCode + * + * @return string + */ + public function getTrxnResultCode() { + return $this->trxnResultCode; + } + + /** + * Set statusId + * + * @param integer $statusId + * @return FinancialTrxn + */ + public function setStatusId($statusId) { + $this->statusId = $statusId; + return $this; + } + + /** + * Get statusId + * + * @return integer + */ + public function getStatusId() { + return $this->statusId; + } + + /** + * Set paymentProcessor + * + * @param \Civi\Financial\PaymentProcessor $paymentProcessor + * @return FinancialTrxn + */ + public function setPaymentProcessor(\Civi\Financial\PaymentProcessor $paymentProcessor = null) { + $this->paymentProcessor = $paymentProcessor; + return $this; + } + + /** + * Get paymentProcessor + * + * @return \Civi\Financial\PaymentProcessor + */ + public function getPaymentProcessor() { + return $this->paymentProcessor; + } + + /** + * Set paymentInstrumentId + * + * @param integer $paymentInstrumentId + * @return FinancialTrxn + */ + public function setPaymentInstrumentId($paymentInstrumentId) { + $this->paymentInstrumentId = $paymentInstrumentId; + return $this; + } + + /** + * Get paymentInstrumentId + * + * @return integer + */ + public function getPaymentInstrumentId() { + return $this->paymentInstrumentId; + } + + /** + * Set checkNumber + * + * @param string $checkNumber + * @return FinancialTrxn + */ + public function setCheckNumber($checkNumber) { + $this->checkNumber = $checkNumber; + return $this; + } + + /** + * Get checkNumber + * + * @return string + */ + public function getCheckNumber() { + return $this->checkNumber; + } + +} + diff --git a/Civi/Financial/FinancialType.php b/Civi/Financial/FinancialType.php new file mode 100644 index 0000000000..da7dbf46b1 --- /dev/null +++ b/Civi/Financial/FinancialType.php @@ -0,0 +1,208 @@ +id; + } + + /** + * Set name + * + * @param string $name + * @return FinancialType + */ + public function setName($name) { + $this->name = $name; + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() { + return $this->name; + } + + /** + * Set description + * + * @param string $description + * @return FinancialType + */ + public function setDescription($description) { + $this->description = $description; + return $this; + } + + /** + * Get description + * + * @return string + */ + public function getDescription() { + return $this->description; + } + + /** + * Set isDeductible + * + * @param boolean $isDeductible + * @return FinancialType + */ + public function setIsDeductible($isDeductible) { + $this->isDeductible = $isDeductible; + return $this; + } + + /** + * Get isDeductible + * + * @return boolean + */ + public function getIsDeductible() { + return $this->isDeductible; + } + + /** + * Set isReserved + * + * @param boolean $isReserved + * @return FinancialType + */ + public function setIsReserved($isReserved) { + $this->isReserved = $isReserved; + return $this; + } + + /** + * Get isReserved + * + * @return boolean + */ + public function getIsReserved() { + return $this->isReserved; + } + + /** + * Set isActive + * + * @param boolean $isActive + * @return FinancialType + */ + public function setIsActive($isActive) { + $this->isActive = $isActive; + return $this; + } + + /** + * Get isActive + * + * @return boolean + */ + public function getIsActive() { + return $this->isActive; + } + +} + diff --git a/Civi/Financial/PaymentProcessor.php b/Civi/Financial/PaymentProcessor.php new file mode 100644 index 0000000000..8ab6f8a738 --- /dev/null +++ b/Civi/Financial/PaymentProcessor.php @@ -0,0 +1,600 @@ +id; + } + + /** + * Set domain + * + * @param \Civi\Core\Domain $domain + * @return PaymentProcessor + */ + public function setDomain(\Civi\Core\Domain $domain = null) { + $this->domain = $domain; + return $this; + } + + /** + * Get domain + * + * @return \Civi\Core\Domain + */ + public function getDomain() { + return $this->domain; + } + + /** + * Set name + * + * @param string $name + * @return PaymentProcessor + */ + public function setName($name) { + $this->name = $name; + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() { + return $this->name; + } + + /** + * Set description + * + * @param string $description + * @return PaymentProcessor + */ + public function setDescription($description) { + $this->description = $description; + return $this; + } + + /** + * Get description + * + * @return string + */ + public function getDescription() { + return $this->description; + } + + /** + * Set paymentProcessorType + * + * @param \Civi\Financial\PaymentProcessorType $paymentProcessorType + * @return PaymentProcessor + */ + public function setPaymentProcessorType(\Civi\Financial\PaymentProcessorType $paymentProcessorType = null) { + $this->paymentProcessorType = $paymentProcessorType; + return $this; + } + + /** + * Get paymentProcessorType + * + * @return \Civi\Financial\PaymentProcessorType + */ + public function getPaymentProcessorType() { + return $this->paymentProcessorType; + } + + /** + * Set isActive + * + * @param boolean $isActive + * @return PaymentProcessor + */ + public function setIsActive($isActive) { + $this->isActive = $isActive; + return $this; + } + + /** + * Get isActive + * + * @return boolean + */ + public function getIsActive() { + return $this->isActive; + } + + /** + * Set isDefault + * + * @param boolean $isDefault + * @return PaymentProcessor + */ + public function setIsDefault($isDefault) { + $this->isDefault = $isDefault; + return $this; + } + + /** + * Get isDefault + * + * @return boolean + */ + public function getIsDefault() { + return $this->isDefault; + } + + /** + * Set isTest + * + * @param boolean $isTest + * @return PaymentProcessor + */ + public function setIsTest($isTest) { + $this->isTest = $isTest; + return $this; + } + + /** + * Get isTest + * + * @return boolean + */ + public function getIsTest() { + return $this->isTest; + } + + /** + * Set userName + * + * @param string $userName + * @return PaymentProcessor + */ + public function setUserName($userName) { + $this->userName = $userName; + return $this; + } + + /** + * Get userName + * + * @return string + */ + public function getUserName() { + return $this->userName; + } + + /** + * Set password + * + * @param string $password + * @return PaymentProcessor + */ + public function setPassword($password) { + $this->password = $password; + return $this; + } + + /** + * Get password + * + * @return string + */ + public function getPassword() { + return $this->password; + } + + /** + * Set signature + * + * @param string $signature + * @return PaymentProcessor + */ + public function setSignature($signature) { + $this->signature = $signature; + return $this; + } + + /** + * Get signature + * + * @return string + */ + public function getSignature() { + return $this->signature; + } + + /** + * Set urlSite + * + * @param string $urlSite + * @return PaymentProcessor + */ + public function setUrlSite($urlSite) { + $this->urlSite = $urlSite; + return $this; + } + + /** + * Get urlSite + * + * @return string + */ + public function getUrlSite() { + return $this->urlSite; + } + + /** + * Set urlApi + * + * @param string $urlApi + * @return PaymentProcessor + */ + public function setUrlApi($urlApi) { + $this->urlApi = $urlApi; + return $this; + } + + /** + * Get urlApi + * + * @return string + */ + public function getUrlApi() { + return $this->urlApi; + } + + /** + * Set urlRecur + * + * @param string $urlRecur + * @return PaymentProcessor + */ + public function setUrlRecur($urlRecur) { + $this->urlRecur = $urlRecur; + return $this; + } + + /** + * Get urlRecur + * + * @return string + */ + public function getUrlRecur() { + return $this->urlRecur; + } + + /** + * Set urlButton + * + * @param string $urlButton + * @return PaymentProcessor + */ + public function setUrlButton($urlButton) { + $this->urlButton = $urlButton; + return $this; + } + + /** + * Get urlButton + * + * @return string + */ + public function getUrlButton() { + return $this->urlButton; + } + + /** + * Set subject + * + * @param string $subject + * @return PaymentProcessor + */ + public function setSubject($subject) { + $this->subject = $subject; + return $this; + } + + /** + * Get subject + * + * @return string + */ + public function getSubject() { + return $this->subject; + } + + /** + * Set className + * + * @param string $className + * @return PaymentProcessor + */ + public function setClassName($className) { + $this->className = $className; + return $this; + } + + /** + * Get className + * + * @return string + */ + public function getClassName() { + return $this->className; + } + + /** + * Set billingMode + * + * @param integer $billingMode + * @return PaymentProcessor + */ + public function setBillingMode($billingMode) { + $this->billingMode = $billingMode; + return $this; + } + + /** + * Get billingMode + * + * @return integer + */ + public function getBillingMode() { + return $this->billingMode; + } + + /** + * Set isRecur + * + * @param boolean $isRecur + * @return PaymentProcessor + */ + public function setIsRecur($isRecur) { + $this->isRecur = $isRecur; + return $this; + } + + /** + * Get isRecur + * + * @return boolean + */ + public function getIsRecur() { + return $this->isRecur; + } + + /** + * Set paymentType + * + * @param integer $paymentType + * @return PaymentProcessor + */ + public function setPaymentType($paymentType) { + $this->paymentType = $paymentType; + return $this; + } + + /** + * Get paymentType + * + * @return integer + */ + public function getPaymentType() { + return $this->paymentType; + } + +} + diff --git a/Civi/Financial/PaymentProcessorType.php b/Civi/Financial/PaymentProcessorType.php new file mode 100644 index 0000000000..4980c2b87d --- /dev/null +++ b/Civi/Financial/PaymentProcessorType.php @@ -0,0 +1,656 @@ +id; + } + + /** + * Set name + * + * @param string $name + * @return PaymentProcessorType + */ + public function setName($name) { + $this->name = $name; + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() { + return $this->name; + } + + /** + * Set title + * + * @param string $title + * @return PaymentProcessorType + */ + public function setTitle($title) { + $this->title = $title; + return $this; + } + + /** + * Get title + * + * @return string + */ + public function getTitle() { + return $this->title; + } + + /** + * Set description + * + * @param string $description + * @return PaymentProcessorType + */ + public function setDescription($description) { + $this->description = $description; + return $this; + } + + /** + * Get description + * + * @return string + */ + public function getDescription() { + return $this->description; + } + + /** + * Set isActive + * + * @param boolean $isActive + * @return PaymentProcessorType + */ + public function setIsActive($isActive) { + $this->isActive = $isActive; + return $this; + } + + /** + * Get isActive + * + * @return boolean + */ + public function getIsActive() { + return $this->isActive; + } + + /** + * Set isDefault + * + * @param boolean $isDefault + * @return PaymentProcessorType + */ + public function setIsDefault($isDefault) { + $this->isDefault = $isDefault; + return $this; + } + + /** + * Get isDefault + * + * @return boolean + */ + public function getIsDefault() { + return $this->isDefault; + } + + /** + * Set userNameLabel + * + * @param string $userNameLabel + * @return PaymentProcessorType + */ + public function setUserNameLabel($userNameLabel) { + $this->userNameLabel = $userNameLabel; + return $this; + } + + /** + * Get userNameLabel + * + * @return string + */ + public function getUserNameLabel() { + return $this->userNameLabel; + } + + /** + * Set passwordLabel + * + * @param string $passwordLabel + * @return PaymentProcessorType + */ + public function setPasswordLabel($passwordLabel) { + $this->passwordLabel = $passwordLabel; + return $this; + } + + /** + * Get passwordLabel + * + * @return string + */ + public function getPasswordLabel() { + return $this->passwordLabel; + } + + /** + * Set signatureLabel + * + * @param string $signatureLabel + * @return PaymentProcessorType + */ + public function setSignatureLabel($signatureLabel) { + $this->signatureLabel = $signatureLabel; + return $this; + } + + /** + * Get signatureLabel + * + * @return string + */ + public function getSignatureLabel() { + return $this->signatureLabel; + } + + /** + * Set subjectLabel + * + * @param string $subjectLabel + * @return PaymentProcessorType + */ + public function setSubjectLabel($subjectLabel) { + $this->subjectLabel = $subjectLabel; + return $this; + } + + /** + * Get subjectLabel + * + * @return string + */ + public function getSubjectLabel() { + return $this->subjectLabel; + } + + /** + * Set className + * + * @param string $className + * @return PaymentProcessorType + */ + public function setClassName($className) { + $this->className = $className; + return $this; + } + + /** + * Get className + * + * @return string + */ + public function getClassName() { + return $this->className; + } + + /** + * Set urlSiteDefault + * + * @param string $urlSiteDefault + * @return PaymentProcessorType + */ + public function setUrlSiteDefault($urlSiteDefault) { + $this->urlSiteDefault = $urlSiteDefault; + return $this; + } + + /** + * Get urlSiteDefault + * + * @return string + */ + public function getUrlSiteDefault() { + return $this->urlSiteDefault; + } + + /** + * Set urlApiDefault + * + * @param string $urlApiDefault + * @return PaymentProcessorType + */ + public function setUrlApiDefault($urlApiDefault) { + $this->urlApiDefault = $urlApiDefault; + return $this; + } + + /** + * Get urlApiDefault + * + * @return string + */ + public function getUrlApiDefault() { + return $this->urlApiDefault; + } + + /** + * Set urlRecurDefault + * + * @param string $urlRecurDefault + * @return PaymentProcessorType + */ + public function setUrlRecurDefault($urlRecurDefault) { + $this->urlRecurDefault = $urlRecurDefault; + return $this; + } + + /** + * Get urlRecurDefault + * + * @return string + */ + public function getUrlRecurDefault() { + return $this->urlRecurDefault; + } + + /** + * Set urlButtonDefault + * + * @param string $urlButtonDefault + * @return PaymentProcessorType + */ + public function setUrlButtonDefault($urlButtonDefault) { + $this->urlButtonDefault = $urlButtonDefault; + return $this; + } + + /** + * Get urlButtonDefault + * + * @return string + */ + public function getUrlButtonDefault() { + return $this->urlButtonDefault; + } + + /** + * Set urlSiteTestDefault + * + * @param string $urlSiteTestDefault + * @return PaymentProcessorType + */ + public function setUrlSiteTestDefault($urlSiteTestDefault) { + $this->urlSiteTestDefault = $urlSiteTestDefault; + return $this; + } + + /** + * Get urlSiteTestDefault + * + * @return string + */ + public function getUrlSiteTestDefault() { + return $this->urlSiteTestDefault; + } + + /** + * Set urlApiTestDefault + * + * @param string $urlApiTestDefault + * @return PaymentProcessorType + */ + public function setUrlApiTestDefault($urlApiTestDefault) { + $this->urlApiTestDefault = $urlApiTestDefault; + return $this; + } + + /** + * Get urlApiTestDefault + * + * @return string + */ + public function getUrlApiTestDefault() { + return $this->urlApiTestDefault; + } + + /** + * Set urlRecurTestDefault + * + * @param string $urlRecurTestDefault + * @return PaymentProcessorType + */ + public function setUrlRecurTestDefault($urlRecurTestDefault) { + $this->urlRecurTestDefault = $urlRecurTestDefault; + return $this; + } + + /** + * Get urlRecurTestDefault + * + * @return string + */ + public function getUrlRecurTestDefault() { + return $this->urlRecurTestDefault; + } + + /** + * Set urlButtonTestDefault + * + * @param string $urlButtonTestDefault + * @return PaymentProcessorType + */ + public function setUrlButtonTestDefault($urlButtonTestDefault) { + $this->urlButtonTestDefault = $urlButtonTestDefault; + return $this; + } + + /** + * Get urlButtonTestDefault + * + * @return string + */ + public function getUrlButtonTestDefault() { + return $this->urlButtonTestDefault; + } + + /** + * Set billingMode + * + * @param integer $billingMode + * @return PaymentProcessorType + */ + public function setBillingMode($billingMode) { + $this->billingMode = $billingMode; + return $this; + } + + /** + * Get billingMode + * + * @return integer + */ + public function getBillingMode() { + return $this->billingMode; + } + + /** + * Set isRecur + * + * @param boolean $isRecur + * @return PaymentProcessorType + */ + public function setIsRecur($isRecur) { + $this->isRecur = $isRecur; + return $this; + } + + /** + * Get isRecur + * + * @return boolean + */ + public function getIsRecur() { + return $this->isRecur; + } + + /** + * Set paymentType + * + * @param integer $paymentType + * @return PaymentProcessorType + */ + public function setPaymentType($paymentType) { + $this->paymentType = $paymentType; + return $this; + } + + /** + * Get paymentType + * + * @return integer + */ + public function getPaymentType() { + return $this->paymentType; + } + +} + diff --git a/Civi/Friend/Friend.php b/Civi/Friend/Friend.php new file mode 100644 index 0000000000..4083622318 --- /dev/null +++ b/Civi/Friend/Friend.php @@ -0,0 +1,320 @@ +id; + } + + /** + * Set entityTable + * + * @param string $entityTable + * @return Friend + */ + public function setEntityTable($entityTable) { + $this->entityTable = $entityTable; + return $this; + } + + /** + * Get entityTable + * + * @return string + */ + public function getEntityTable() { + return $this->entityTable; + } + + /** + * Set entityId + * + * @param integer $entityId + * @return Friend + */ + public function setEntityId($entityId) { + $this->entityId = $entityId; + return $this; + } + + /** + * Get entityId + * + * @return integer + */ + public function getEntityId() { + return $this->entityId; + } + + /** + * Set title + * + * @param string $title + * @return Friend + */ + public function setTitle($title) { + $this->title = $title; + return $this; + } + + /** + * Get title + * + * @return string + */ + public function getTitle() { + return $this->title; + } + + /** + * Set intro + * + * @param text $intro + * @return Friend + */ + public function setIntro($intro) { + $this->intro = $intro; + return $this; + } + + /** + * Get intro + * + * @return text + */ + public function getIntro() { + return $this->intro; + } + + /** + * Set suggestedMessage + * + * @param text $suggestedMessage + * @return Friend + */ + public function setSuggestedMessage($suggestedMessage) { + $this->suggestedMessage = $suggestedMessage; + return $this; + } + + /** + * Get suggestedMessage + * + * @return text + */ + public function getSuggestedMessage() { + return $this->suggestedMessage; + } + + /** + * Set generalLink + * + * @param string $generalLink + * @return Friend + */ + public function setGeneralLink($generalLink) { + $this->generalLink = $generalLink; + return $this; + } + + /** + * Get generalLink + * + * @return string + */ + public function getGeneralLink() { + return $this->generalLink; + } + + /** + * Set thankyouTitle + * + * @param string $thankyouTitle + * @return Friend + */ + public function setThankyouTitle($thankyouTitle) { + $this->thankyouTitle = $thankyouTitle; + return $this; + } + + /** + * Get thankyouTitle + * + * @return string + */ + public function getThankyouTitle() { + return $this->thankyouTitle; + } + + /** + * Set thankyouText + * + * @param text $thankyouText + * @return Friend + */ + public function setThankyouText($thankyouText) { + $this->thankyouText = $thankyouText; + return $this; + } + + /** + * Get thankyouText + * + * @return text + */ + public function getThankyouText() { + return $this->thankyouText; + } + + /** + * Set isActive + * + * @param boolean $isActive + * @return Friend + */ + public function setIsActive($isActive) { + $this->isActive = $isActive; + return $this; + } + + /** + * Get isActive + * + * @return boolean + */ + public function getIsActive() { + return $this->isActive; + } + +} + diff --git a/Civi/Grant/Grant.php b/Civi/Grant/Grant.php new file mode 100644 index 0000000000..3451d0c821 --- /dev/null +++ b/Civi/Grant/Grant.php @@ -0,0 +1,460 @@ +id; + } + + /** + * Set contact + * + * @param \Civi\Contact\Contact $contact + * @return Grant + */ + public function setContact(\Civi\Contact\Contact $contact = null) { + $this->contact = $contact; + return $this; + } + + /** + * Get contact + * + * @return \Civi\Contact\Contact + */ + public function getContact() { + return $this->contact; + } + + /** + * Set applicationReceivedDate + * + * @param date $applicationReceivedDate + * @return Grant + */ + public function setApplicationReceivedDate($applicationReceivedDate) { + $this->applicationReceivedDate = $applicationReceivedDate; + return $this; + } + + /** + * Get applicationReceivedDate + * + * @return date + */ + public function getApplicationReceivedDate() { + return $this->applicationReceivedDate; + } + + /** + * Set decisionDate + * + * @param date $decisionDate + * @return Grant + */ + public function setDecisionDate($decisionDate) { + $this->decisionDate = $decisionDate; + return $this; + } + + /** + * Get decisionDate + * + * @return date + */ + public function getDecisionDate() { + return $this->decisionDate; + } + + /** + * Set moneyTransferDate + * + * @param date $moneyTransferDate + * @return Grant + */ + public function setMoneyTransferDate($moneyTransferDate) { + $this->moneyTransferDate = $moneyTransferDate; + return $this; + } + + /** + * Get moneyTransferDate + * + * @return date + */ + public function getMoneyTransferDate() { + return $this->moneyTransferDate; + } + + /** + * Set grantDueDate + * + * @param date $grantDueDate + * @return Grant + */ + public function setGrantDueDate($grantDueDate) { + $this->grantDueDate = $grantDueDate; + return $this; + } + + /** + * Get grantDueDate + * + * @return date + */ + public function getGrantDueDate() { + return $this->grantDueDate; + } + + /** + * Set grantReportReceived + * + * @param boolean $grantReportReceived + * @return Grant + */ + public function setGrantReportReceived($grantReportReceived) { + $this->grantReportReceived = $grantReportReceived; + return $this; + } + + /** + * Get grantReportReceived + * + * @return boolean + */ + public function getGrantReportReceived() { + return $this->grantReportReceived; + } + + /** + * Set grantTypeId + * + * @param integer $grantTypeId + * @return Grant + */ + public function setGrantTypeId($grantTypeId) { + $this->grantTypeId = $grantTypeId; + return $this; + } + + /** + * Get grantTypeId + * + * @return integer + */ + public function getGrantTypeId() { + return $this->grantTypeId; + } + + /** + * Set amountTotal + * + * @param float $amountTotal + * @return Grant + */ + public function setAmountTotal($amountTotal) { + $this->amountTotal = $amountTotal; + return $this; + } + + /** + * Get amountTotal + * + * @return float + */ + public function getAmountTotal() { + return $this->amountTotal; + } + + /** + * Set amountRequested + * + * @param float $amountRequested + * @return Grant + */ + public function setAmountRequested($amountRequested) { + $this->amountRequested = $amountRequested; + return $this; + } + + /** + * Get amountRequested + * + * @return float + */ + public function getAmountRequested() { + return $this->amountRequested; + } + + /** + * Set amountGranted + * + * @param float $amountGranted + * @return Grant + */ + public function setAmountGranted($amountGranted) { + $this->amountGranted = $amountGranted; + return $this; + } + + /** + * Get amountGranted + * + * @return float + */ + public function getAmountGranted() { + return $this->amountGranted; + } + + /** + * Set currency + * + * @param string $currency + * @return Grant + */ + public function setCurrency($currency) { + $this->currency = $currency; + return $this; + } + + /** + * Get currency + * + * @return string + */ + public function getCurrency() { + return $this->currency; + } + + /** + * Set rationale + * + * @param text $rationale + * @return Grant + */ + public function setRationale($rationale) { + $this->rationale = $rationale; + return $this; + } + + /** + * Get rationale + * + * @return text + */ + public function getRationale() { + return $this->rationale; + } + + /** + * Set statusId + * + * @param integer $statusId + * @return Grant + */ + public function setStatusId($statusId) { + $this->statusId = $statusId; + return $this; + } + + /** + * Get statusId + * + * @return integer + */ + public function getStatusId() { + return $this->statusId; + } + + /** + * Set financialType + * + * @param \Civi\Financial\FinancialType $financialType + * @return Grant + */ + public function setFinancialType(\Civi\Financial\FinancialType $financialType = null) { + $this->financialType = $financialType; + return $this; + } + + /** + * Get financialType + * + * @return \Civi\Financial\FinancialType + */ + public function getFinancialType() { + return $this->financialType; + } + +} + diff --git a/Civi/Mailing/BouncePattern.php b/Civi/Mailing/BouncePattern.php new file mode 100644 index 0000000000..4b2f02e482 --- /dev/null +++ b/Civi/Mailing/BouncePattern.php @@ -0,0 +1,124 @@ +id; + } + + /** + * Set bounceType + * + * @param \Civi\Mailing\BounceType $bounceType + * @return BouncePattern + */ + public function setBounceType(\Civi\Mailing\BounceType $bounceType = null) { + $this->bounceType = $bounceType; + return $this; + } + + /** + * Get bounceType + * + * @return \Civi\Mailing\BounceType + */ + public function getBounceType() { + return $this->bounceType; + } + + /** + * Set pattern + * + * @param string $pattern + * @return BouncePattern + */ + public function setPattern($pattern) { + $this->pattern = $pattern; + return $this; + } + + /** + * Get pattern + * + * @return string + */ + public function getPattern() { + return $this->pattern; + } + +} + diff --git a/Civi/Mailing/BounceType.php b/Civi/Mailing/BounceType.php new file mode 100644 index 0000000000..7f7e33b24c --- /dev/null +++ b/Civi/Mailing/BounceType.php @@ -0,0 +1,152 @@ +id; + } + + /** + * Set name + * + * @param string $name + * @return BounceType + */ + public function setName($name) { + $this->name = $name; + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() { + return $this->name; + } + + /** + * Set description + * + * @param string $description + * @return BounceType + */ + public function setDescription($description) { + $this->description = $description; + return $this; + } + + /** + * Get description + * + * @return string + */ + public function getDescription() { + return $this->description; + } + + /** + * Set holdThreshold + * + * @param integer $holdThreshold + * @return BounceType + */ + public function setHoldThreshold($holdThreshold) { + $this->holdThreshold = $holdThreshold; + return $this; + } + + /** + * Get holdThreshold + * + * @return integer + */ + public function getHoldThreshold() { + return $this->holdThreshold; + } + +} + diff --git a/Civi/Mailing/Component.php b/Civi/Mailing/Component.php new file mode 100644 index 0000000000..1890fc3c03 --- /dev/null +++ b/Civi/Mailing/Component.php @@ -0,0 +1,264 @@ +id; + } + + /** + * Set name + * + * @param string $name + * @return Component + */ + public function setName($name) { + $this->name = $name; + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() { + return $this->name; + } + + /** + * Set componentType + * + * @param string $componentType + * @return Component + */ + public function setComponentType($componentType) { + $this->componentType = $componentType; + return $this; + } + + /** + * Get componentType + * + * @return string + */ + public function getComponentType() { + return $this->componentType; + } + + /** + * Set subject + * + * @param string $subject + * @return Component + */ + public function setSubject($subject) { + $this->subject = $subject; + return $this; + } + + /** + * Get subject + * + * @return string + */ + public function getSubject() { + return $this->subject; + } + + /** + * Set bodyHtml + * + * @param text $bodyHtml + * @return Component + */ + public function setBodyHtml($bodyHtml) { + $this->bodyHtml = $bodyHtml; + return $this; + } + + /** + * Get bodyHtml + * + * @return text + */ + public function getBodyHtml() { + return $this->bodyHtml; + } + + /** + * Set bodyText + * + * @param text $bodyText + * @return Component + */ + public function setBodyText($bodyText) { + $this->bodyText = $bodyText; + return $this; + } + + /** + * Get bodyText + * + * @return text + */ + public function getBodyText() { + return $this->bodyText; + } + + /** + * Set isDefault + * + * @param boolean $isDefault + * @return Component + */ + public function setIsDefault($isDefault) { + $this->isDefault = $isDefault; + return $this; + } + + /** + * Get isDefault + * + * @return boolean + */ + public function getIsDefault() { + return $this->isDefault; + } + + /** + * Set isActive + * + * @param boolean $isActive + * @return Component + */ + public function setIsActive($isActive) { + $this->isActive = $isActive; + return $this; + } + + /** + * Get isActive + * + * @return boolean + */ + public function getIsActive() { + return $this->isActive; + } + +} + diff --git a/Civi/Mailing/Event/Bounce.php b/Civi/Mailing/Event/Bounce.php new file mode 100644 index 0000000000..a3d912ee83 --- /dev/null +++ b/Civi/Mailing/Event/Bounce.php @@ -0,0 +1,180 @@ +id; + } + + /** + * Set eventQueue + * + * @param \Civi\Mailing\Event\Queue $eventQueue + * @return Bounce + */ + public function setEventQueue(\Civi\Mailing\Event\Queue $eventQueue = null) { + $this->eventQueue = $eventQueue; + return $this; + } + + /** + * Get eventQueue + * + * @return \Civi\Mailing\Event\Queue + */ + public function getEventQueue() { + return $this->eventQueue; + } + + /** + * Set bounceTypeId + * + * @param integer $bounceTypeId + * @return Bounce + */ + public function setBounceTypeId($bounceTypeId) { + $this->bounceTypeId = $bounceTypeId; + return $this; + } + + /** + * Get bounceTypeId + * + * @return integer + */ + public function getBounceTypeId() { + return $this->bounceTypeId; + } + + /** + * Set bounceReason + * + * @param string $bounceReason + * @return Bounce + */ + public function setBounceReason($bounceReason) { + $this->bounceReason = $bounceReason; + return $this; + } + + /** + * Get bounceReason + * + * @return string + */ + public function getBounceReason() { + return $this->bounceReason; + } + + /** + * Set timeStamp + * + * @param datetime $timeStamp + * @return Bounce + */ + public function setTimeStamp($timeStamp) { + $this->timeStamp = $timeStamp; + return $this; + } + + /** + * Get timeStamp + * + * @return datetime + */ + public function getTimeStamp() { + return $this->timeStamp; + } + +} + diff --git a/Civi/Mailing/Event/Confirm.php b/Civi/Mailing/Event/Confirm.php new file mode 100644 index 0000000000..122115035d --- /dev/null +++ b/Civi/Mailing/Event/Confirm.php @@ -0,0 +1,124 @@ +id; + } + + /** + * Set eventSubscribe + * + * @param \Civi\Mailing\Event\Subscribe $eventSubscribe + * @return Confirm + */ + public function setEventSubscribe(\Civi\Mailing\Event\Subscribe $eventSubscribe = null) { + $this->eventSubscribe = $eventSubscribe; + return $this; + } + + /** + * Get eventSubscribe + * + * @return \Civi\Mailing\Event\Subscribe + */ + public function getEventSubscribe() { + return $this->eventSubscribe; + } + + /** + * Set timeStamp + * + * @param datetime $timeStamp + * @return Confirm + */ + public function setTimeStamp($timeStamp) { + $this->timeStamp = $timeStamp; + return $this; + } + + /** + * Get timeStamp + * + * @return datetime + */ + public function getTimeStamp() { + return $this->timeStamp; + } + +} + diff --git a/Civi/Mailing/Event/Delivered.php b/Civi/Mailing/Event/Delivered.php new file mode 100644 index 0000000000..143b54ae41 --- /dev/null +++ b/Civi/Mailing/Event/Delivered.php @@ -0,0 +1,124 @@ +id; + } + + /** + * Set eventQueue + * + * @param \Civi\Mailing\Event\Queue $eventQueue + * @return Delivered + */ + public function setEventQueue(\Civi\Mailing\Event\Queue $eventQueue = null) { + $this->eventQueue = $eventQueue; + return $this; + } + + /** + * Get eventQueue + * + * @return \Civi\Mailing\Event\Queue + */ + public function getEventQueue() { + return $this->eventQueue; + } + + /** + * Set timeStamp + * + * @param datetime $timeStamp + * @return Delivered + */ + public function setTimeStamp($timeStamp) { + $this->timeStamp = $timeStamp; + return $this; + } + + /** + * Get timeStamp + * + * @return datetime + */ + public function getTimeStamp() { + return $this->timeStamp; + } + +} + diff --git a/Civi/Mailing/Event/Forward.php b/Civi/Mailing/Event/Forward.php new file mode 100644 index 0000000000..4c4ad9abf7 --- /dev/null +++ b/Civi/Mailing/Event/Forward.php @@ -0,0 +1,152 @@ +id; + } + + /** + * Set eventQueue + * + * @param \Civi\Mailing\Event\Queue $eventQueue + * @return Forward + */ + public function setEventQueue(\Civi\Mailing\Event\Queue $eventQueue = null) { + $this->eventQueue = $eventQueue; + return $this; + } + + /** + * Get eventQueue + * + * @return \Civi\Mailing\Event\Queue + */ + public function getEventQueue() { + return $this->eventQueue; + } + + /** + * Set destQueue + * + * @param \Civi\Mailing\Event\Queue $destQueue + * @return Forward + */ + public function setDestQueue(\Civi\Mailing\Event\Queue $destQueue = null) { + $this->destQueue = $destQueue; + return $this; + } + + /** + * Get destQueue + * + * @return \Civi\Mailing\Event\Queue + */ + public function getDestQueue() { + return $this->destQueue; + } + + /** + * Set timeStamp + * + * @param datetime $timeStamp + * @return Forward + */ + public function setTimeStamp($timeStamp) { + $this->timeStamp = $timeStamp; + return $this; + } + + /** + * Get timeStamp + * + * @return datetime + */ + public function getTimeStamp() { + return $this->timeStamp; + } + +} + diff --git a/Civi/Mailing/Event/Opened.php b/Civi/Mailing/Event/Opened.php new file mode 100644 index 0000000000..2d181c81db --- /dev/null +++ b/Civi/Mailing/Event/Opened.php @@ -0,0 +1,124 @@ +id; + } + + /** + * Set eventQueue + * + * @param \Civi\Mailing\Event\Queue $eventQueue + * @return Opened + */ + public function setEventQueue(\Civi\Mailing\Event\Queue $eventQueue = null) { + $this->eventQueue = $eventQueue; + return $this; + } + + /** + * Get eventQueue + * + * @return \Civi\Mailing\Event\Queue + */ + public function getEventQueue() { + return $this->eventQueue; + } + + /** + * Set timeStamp + * + * @param datetime $timeStamp + * @return Opened + */ + public function setTimeStamp($timeStamp) { + $this->timeStamp = $timeStamp; + return $this; + } + + /** + * Get timeStamp + * + * @return datetime + */ + public function getTimeStamp() { + return $this->timeStamp; + } + +} + diff --git a/Civi/Mailing/Event/Queue.php b/Civi/Mailing/Event/Queue.php new file mode 100644 index 0000000000..511fc2f1fb --- /dev/null +++ b/Civi/Mailing/Event/Queue.php @@ -0,0 +1,208 @@ +id; + } + + /** + * Set job + * + * @param \Civi\Mailing\MailingJob $job + * @return Queue + */ + public function setJob(\Civi\Mailing\MailingJob $job = null) { + $this->job = $job; + return $this; + } + + /** + * Get job + * + * @return \Civi\Mailing\MailingJob + */ + public function getJob() { + return $this->job; + } + + /** + * Set email + * + * @param \Civi\Core\Email $email + * @return Queue + */ + public function setEmail(\Civi\Core\Email $email = null) { + $this->email = $email; + return $this; + } + + /** + * Get email + * + * @return \Civi\Core\Email + */ + public function getEmail() { + return $this->email; + } + + /** + * Set contact + * + * @param \Civi\Contact\Contact $contact + * @return Queue + */ + public function setContact(\Civi\Contact\Contact $contact = null) { + $this->contact = $contact; + return $this; + } + + /** + * Get contact + * + * @return \Civi\Contact\Contact + */ + public function getContact() { + return $this->contact; + } + + /** + * Set hash + * + * @param string $hash + * @return Queue + */ + public function setHash($hash) { + $this->hash = $hash; + return $this; + } + + /** + * Get hash + * + * @return string + */ + public function getHash() { + return $this->hash; + } + + /** + * Set phone + * + * @param \Civi\Core\Phone $phone + * @return Queue + */ + public function setPhone(\Civi\Core\Phone $phone = null) { + $this->phone = $phone; + return $this; + } + + /** + * Get phone + * + * @return \Civi\Core\Phone + */ + public function getPhone() { + return $this->phone; + } + +} + diff --git a/Civi/Mailing/Event/Reply.php b/Civi/Mailing/Event/Reply.php new file mode 100644 index 0000000000..0f7874a8e0 --- /dev/null +++ b/Civi/Mailing/Event/Reply.php @@ -0,0 +1,124 @@ +id; + } + + /** + * Set eventQueue + * + * @param \Civi\Mailing\Event\Queue $eventQueue + * @return Reply + */ + public function setEventQueue(\Civi\Mailing\Event\Queue $eventQueue = null) { + $this->eventQueue = $eventQueue; + return $this; + } + + /** + * Get eventQueue + * + * @return \Civi\Mailing\Event\Queue + */ + public function getEventQueue() { + return $this->eventQueue; + } + + /** + * Set timeStamp + * + * @param datetime $timeStamp + * @return Reply + */ + public function setTimeStamp($timeStamp) { + $this->timeStamp = $timeStamp; + return $this; + } + + /** + * Get timeStamp + * + * @return datetime + */ + public function getTimeStamp() { + return $this->timeStamp; + } + +} + diff --git a/Civi/Mailing/Event/Subscribe.php b/Civi/Mailing/Event/Subscribe.php new file mode 100644 index 0000000000..7f8c4f25c7 --- /dev/null +++ b/Civi/Mailing/Event/Subscribe.php @@ -0,0 +1,180 @@ +id; + } + + /** + * Set group + * + * @param \Civi\Contact\Group $group + * @return Subscribe + */ + public function setGroup(\Civi\Contact\Group $group = null) { + $this->group = $group; + return $this; + } + + /** + * Get group + * + * @return \Civi\Contact\Group + */ + public function getGroup() { + return $this->group; + } + + /** + * Set contact + * + * @param \Civi\Contact\Contact $contact + * @return Subscribe + */ + public function setContact(\Civi\Contact\Contact $contact = null) { + $this->contact = $contact; + return $this; + } + + /** + * Get contact + * + * @return \Civi\Contact\Contact + */ + public function getContact() { + return $this->contact; + } + + /** + * Set hash + * + * @param string $hash + * @return Subscribe + */ + public function setHash($hash) { + $this->hash = $hash; + return $this; + } + + /** + * Get hash + * + * @return string + */ + public function getHash() { + return $this->hash; + } + + /** + * Set timeStamp + * + * @param datetime $timeStamp + * @return Subscribe + */ + public function setTimeStamp($timeStamp) { + $this->timeStamp = $timeStamp; + return $this; + } + + /** + * Get timeStamp + * + * @return datetime + */ + public function getTimeStamp() { + return $this->timeStamp; + } + +} + diff --git a/Civi/Mailing/Event/TrackableURLOpen.php b/Civi/Mailing/Event/TrackableURLOpen.php new file mode 100644 index 0000000000..c1bca60a83 --- /dev/null +++ b/Civi/Mailing/Event/TrackableURLOpen.php @@ -0,0 +1,152 @@ +id; + } + + /** + * Set eventQueue + * + * @param \Civi\Mailing\Event\Queue $eventQueue + * @return TrackableURLOpen + */ + public function setEventQueue(\Civi\Mailing\Event\Queue $eventQueue = null) { + $this->eventQueue = $eventQueue; + return $this; + } + + /** + * Get eventQueue + * + * @return \Civi\Mailing\Event\Queue + */ + public function getEventQueue() { + return $this->eventQueue; + } + + /** + * Set trackableUrl + * + * @param \Civi\Mailing\TrackableURL $trackableUrl + * @return TrackableURLOpen + */ + public function setTrackableUrl(\Civi\Mailing\TrackableURL $trackableUrl = null) { + $this->trackableUrl = $trackableUrl; + return $this; + } + + /** + * Get trackableUrl + * + * @return \Civi\Mailing\TrackableURL + */ + public function getTrackableUrl() { + return $this->trackableUrl; + } + + /** + * Set timeStamp + * + * @param datetime $timeStamp + * @return TrackableURLOpen + */ + public function setTimeStamp($timeStamp) { + $this->timeStamp = $timeStamp; + return $this; + } + + /** + * Get timeStamp + * + * @return datetime + */ + public function getTimeStamp() { + return $this->timeStamp; + } + +} + diff --git a/Civi/Mailing/Event/Unsubscribe.php b/Civi/Mailing/Event/Unsubscribe.php new file mode 100644 index 0000000000..f4b3558dd1 --- /dev/null +++ b/Civi/Mailing/Event/Unsubscribe.php @@ -0,0 +1,152 @@ +id; + } + + /** + * Set eventQueue + * + * @param \Civi\Mailing\Event\Queue $eventQueue + * @return Unsubscribe + */ + public function setEventQueue(\Civi\Mailing\Event\Queue $eventQueue = null) { + $this->eventQueue = $eventQueue; + return $this; + } + + /** + * Get eventQueue + * + * @return \Civi\Mailing\Event\Queue + */ + public function getEventQueue() { + return $this->eventQueue; + } + + /** + * Set orgUnsubscribe + * + * @param boolean $orgUnsubscribe + * @return Unsubscribe + */ + public function setOrgUnsubscribe($orgUnsubscribe) { + $this->orgUnsubscribe = $orgUnsubscribe; + return $this; + } + + /** + * Get orgUnsubscribe + * + * @return boolean + */ + public function getOrgUnsubscribe() { + return $this->orgUnsubscribe; + } + + /** + * Set timeStamp + * + * @param datetime $timeStamp + * @return Unsubscribe + */ + public function setTimeStamp($timeStamp) { + $this->timeStamp = $timeStamp; + return $this; + } + + /** + * Get timeStamp + * + * @return datetime + */ + public function getTimeStamp() { + return $this->timeStamp; + } + +} + diff --git a/Civi/Mailing/Mailing.php b/Civi/Mailing/Mailing.php new file mode 100644 index 0000000000..7e9dcb02ee --- /dev/null +++ b/Civi/Mailing/Mailing.php @@ -0,0 +1,1020 @@ +id; + } + + /** + * Set domain + * + * @param \Civi\Core\Domain $domain + * @return Mailing + */ + public function setDomain(\Civi\Core\Domain $domain = null) { + $this->domain = $domain; + return $this; + } + + /** + * Get domain + * + * @return \Civi\Core\Domain + */ + public function getDomain() { + return $this->domain; + } + + /** + * Set header + * + * @param \Civi\Mailing\Component $header + * @return Mailing + */ + public function setHeader(\Civi\Mailing\Component $header = null) { + $this->header = $header; + return $this; + } + + /** + * Get header + * + * @return \Civi\Mailing\Component + */ + public function getHeader() { + return $this->header; + } + + /** + * Set footer + * + * @param \Civi\Mailing\Component $footer + * @return Mailing + */ + public function setFooter(\Civi\Mailing\Component $footer = null) { + $this->footer = $footer; + return $this; + } + + /** + * Get footer + * + * @return \Civi\Mailing\Component + */ + public function getFooter() { + return $this->footer; + } + + /** + * Set reply + * + * @param \Civi\Mailing\Component $reply + * @return Mailing + */ + public function setReply(\Civi\Mailing\Component $reply = null) { + $this->reply = $reply; + return $this; + } + + /** + * Get reply + * + * @return \Civi\Mailing\Component + */ + public function getReply() { + return $this->reply; + } + + /** + * Set unsubscribe + * + * @param \Civi\Mailing\Component $unsubscribe + * @return Mailing + */ + public function setUnsubscribe(\Civi\Mailing\Component $unsubscribe = null) { + $this->unsubscribe = $unsubscribe; + return $this; + } + + /** + * Get unsubscribe + * + * @return \Civi\Mailing\Component + */ + public function getUnsubscribe() { + return $this->unsubscribe; + } + + /** + * Set resubscribeId + * + * @param integer $resubscribeId + * @return Mailing + */ + public function setResubscribeId($resubscribeId) { + $this->resubscribeId = $resubscribeId; + return $this; + } + + /** + * Get resubscribeId + * + * @return integer + */ + public function getResubscribeId() { + return $this->resubscribeId; + } + + /** + * Set optout + * + * @param \Civi\Mailing\Component $optout + * @return Mailing + */ + public function setOptout(\Civi\Mailing\Component $optout = null) { + $this->optout = $optout; + return $this; + } + + /** + * Get optout + * + * @return \Civi\Mailing\Component + */ + public function getOptout() { + return $this->optout; + } + + /** + * Set name + * + * @param string $name + * @return Mailing + */ + public function setName($name) { + $this->name = $name; + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() { + return $this->name; + } + + /** + * Set fromName + * + * @param string $fromName + * @return Mailing + */ + public function setFromName($fromName) { + $this->fromName = $fromName; + return $this; + } + + /** + * Get fromName + * + * @return string + */ + public function getFromName() { + return $this->fromName; + } + + /** + * Set fromEmail + * + * @param string $fromEmail + * @return Mailing + */ + public function setFromEmail($fromEmail) { + $this->fromEmail = $fromEmail; + return $this; + } + + /** + * Get fromEmail + * + * @return string + */ + public function getFromEmail() { + return $this->fromEmail; + } + + /** + * Set replytoEmail + * + * @param string $replytoEmail + * @return Mailing + */ + public function setReplytoEmail($replytoEmail) { + $this->replytoEmail = $replytoEmail; + return $this; + } + + /** + * Get replytoEmail + * + * @return string + */ + public function getReplytoEmail() { + return $this->replytoEmail; + } + + /** + * Set subject + * + * @param string $subject + * @return Mailing + */ + public function setSubject($subject) { + $this->subject = $subject; + return $this; + } + + /** + * Get subject + * + * @return string + */ + public function getSubject() { + return $this->subject; + } + + /** + * Set bodyText + * + * @param longtext $bodyText + * @return Mailing + */ + public function setBodyText($bodyText) { + $this->bodyText = $bodyText; + return $this; + } + + /** + * Get bodyText + * + * @return longtext + */ + public function getBodyText() { + return $this->bodyText; + } + + /** + * Set bodyHtml + * + * @param longtext $bodyHtml + * @return Mailing + */ + public function setBodyHtml($bodyHtml) { + $this->bodyHtml = $bodyHtml; + return $this; + } + + /** + * Get bodyHtml + * + * @return longtext + */ + public function getBodyHtml() { + return $this->bodyHtml; + } + + /** + * Set urlTracking + * + * @param boolean $urlTracking + * @return Mailing + */ + public function setUrlTracking($urlTracking) { + $this->urlTracking = $urlTracking; + return $this; + } + + /** + * Get urlTracking + * + * @return boolean + */ + public function getUrlTracking() { + return $this->urlTracking; + } + + /** + * Set forwardReplies + * + * @param boolean $forwardReplies + * @return Mailing + */ + public function setForwardReplies($forwardReplies) { + $this->forwardReplies = $forwardReplies; + return $this; + } + + /** + * Get forwardReplies + * + * @return boolean + */ + public function getForwardReplies() { + return $this->forwardReplies; + } + + /** + * Set autoResponder + * + * @param boolean $autoResponder + * @return Mailing + */ + public function setAutoResponder($autoResponder) { + $this->autoResponder = $autoResponder; + return $this; + } + + /** + * Get autoResponder + * + * @return boolean + */ + public function getAutoResponder() { + return $this->autoResponder; + } + + /** + * Set openTracking + * + * @param boolean $openTracking + * @return Mailing + */ + public function setOpenTracking($openTracking) { + $this->openTracking = $openTracking; + return $this; + } + + /** + * Get openTracking + * + * @return boolean + */ + public function getOpenTracking() { + return $this->openTracking; + } + + /** + * Set isCompleted + * + * @param boolean $isCompleted + * @return Mailing + */ + public function setIsCompleted($isCompleted) { + $this->isCompleted = $isCompleted; + return $this; + } + + /** + * Get isCompleted + * + * @return boolean + */ + public function getIsCompleted() { + return $this->isCompleted; + } + + /** + * Set msgTemplate + * + * @param \Civi\Core\MessageTemplate $msgTemplate + * @return Mailing + */ + public function setMsgTemplate(\Civi\Core\MessageTemplate $msgTemplate = null) { + $this->msgTemplate = $msgTemplate; + return $this; + } + + /** + * Get msgTemplate + * + * @return \Civi\Core\MessageTemplate + */ + public function getMsgTemplate() { + return $this->msgTemplate; + } + + /** + * Set overrideVerp + * + * @param boolean $overrideVerp + * @return Mailing + */ + public function setOverrideVerp($overrideVerp) { + $this->overrideVerp = $overrideVerp; + return $this; + } + + /** + * Get overrideVerp + * + * @return boolean + */ + public function getOverrideVerp() { + return $this->overrideVerp; + } + + /** + * Set created + * + * @param \Civi\Contact\Contact $created + * @return Mailing + */ + public function setCreated(\Civi\Contact\Contact $created = null) { + $this->created = $created; + return $this; + } + + /** + * Get created + * + * @return \Civi\Contact\Contact + */ + public function getCreated() { + return $this->created; + } + + /** + * Set createdDate + * + * @param datetime $createdDate + * @return Mailing + */ + public function setCreatedDate($createdDate) { + $this->createdDate = $createdDate; + return $this; + } + + /** + * Get createdDate + * + * @return datetime + */ + public function getCreatedDate() { + return $this->createdDate; + } + + /** + * Set scheduled + * + * @param \Civi\Contact\Contact $scheduled + * @return Mailing + */ + public function setScheduled(\Civi\Contact\Contact $scheduled = null) { + $this->scheduled = $scheduled; + return $this; + } + + /** + * Get scheduled + * + * @return \Civi\Contact\Contact + */ + public function getScheduled() { + return $this->scheduled; + } + + /** + * Set scheduledDate + * + * @param datetime $scheduledDate + * @return Mailing + */ + public function setScheduledDate($scheduledDate) { + $this->scheduledDate = $scheduledDate; + return $this; + } + + /** + * Get scheduledDate + * + * @return datetime + */ + public function getScheduledDate() { + return $this->scheduledDate; + } + + /** + * Set approver + * + * @param \Civi\Contact\Contact $approver + * @return Mailing + */ + public function setApprover(\Civi\Contact\Contact $approver = null) { + $this->approver = $approver; + return $this; + } + + /** + * Get approver + * + * @return \Civi\Contact\Contact + */ + public function getApprover() { + return $this->approver; + } + + /** + * Set approvalDate + * + * @param datetime $approvalDate + * @return Mailing + */ + public function setApprovalDate($approvalDate) { + $this->approvalDate = $approvalDate; + return $this; + } + + /** + * Get approvalDate + * + * @return datetime + */ + public function getApprovalDate() { + return $this->approvalDate; + } + + /** + * Set approvalStatusId + * + * @param integer $approvalStatusId + * @return Mailing + */ + public function setApprovalStatusId($approvalStatusId) { + $this->approvalStatusId = $approvalStatusId; + return $this; + } + + /** + * Get approvalStatusId + * + * @return integer + */ + public function getApprovalStatusId() { + return $this->approvalStatusId; + } + + /** + * Set approvalNote + * + * @param longtext $approvalNote + * @return Mailing + */ + public function setApprovalNote($approvalNote) { + $this->approvalNote = $approvalNote; + return $this; + } + + /** + * Get approvalNote + * + * @return longtext + */ + public function getApprovalNote() { + return $this->approvalNote; + } + + /** + * Set isArchived + * + * @param boolean $isArchived + * @return Mailing + */ + public function setIsArchived($isArchived) { + $this->isArchived = $isArchived; + return $this; + } + + /** + * Get isArchived + * + * @return boolean + */ + public function getIsArchived() { + return $this->isArchived; + } + + /** + * Set visibility + * + * @param string $visibility + * @return Mailing + */ + public function setVisibility($visibility) { + $this->visibility = $visibility; + return $this; + } + + /** + * Get visibility + * + * @return string + */ + public function getVisibility() { + return $this->visibility; + } + + /** + * Set campaign + * + * @param \Civi\Campaign\Campaign $campaign + * @return Mailing + */ + public function setCampaign(\Civi\Campaign\Campaign $campaign = null) { + $this->campaign = $campaign; + return $this; + } + + /** + * Get campaign + * + * @return \Civi\Campaign\Campaign + */ + public function getCampaign() { + return $this->campaign; + } + + /** + * Set dedupeEmail + * + * @param boolean $dedupeEmail + * @return Mailing + */ + public function setDedupeEmail($dedupeEmail) { + $this->dedupeEmail = $dedupeEmail; + return $this; + } + + /** + * Get dedupeEmail + * + * @return boolean + */ + public function getDedupeEmail() { + return $this->dedupeEmail; + } + + /** + * Set smsProvider + * + * @param \Civi\SMS\Provider $smsProvider + * @return Mailing + */ + public function setSmsProvider(\Civi\SMS\Provider $smsProvider = null) { + $this->smsProvider = $smsProvider; + return $this; + } + + /** + * Get smsProvider + * + * @return \Civi\SMS\Provider + */ + public function getSmsProvider() { + return $this->smsProvider; + } + +} + diff --git a/Civi/Mailing/MailingGroup.php b/Civi/Mailing/MailingGroup.php new file mode 100644 index 0000000000..2db08d16ac --- /dev/null +++ b/Civi/Mailing/MailingGroup.php @@ -0,0 +1,236 @@ +id; + } + + /** + * Set mailing + * + * @param \Civi\Mailing\Mailing $mailing + * @return MailingGroup + */ + public function setMailing(\Civi\Mailing\Mailing $mailing = null) { + $this->mailing = $mailing; + return $this; + } + + /** + * Get mailing + * + * @return \Civi\Mailing\Mailing + */ + public function getMailing() { + return $this->mailing; + } + + /** + * Set groupType + * + * @param string $groupType + * @return MailingGroup + */ + public function setGroupType($groupType) { + $this->groupType = $groupType; + return $this; + } + + /** + * Get groupType + * + * @return string + */ + public function getGroupType() { + return $this->groupType; + } + + /** + * Set entityTable + * + * @param string $entityTable + * @return MailingGroup + */ + public function setEntityTable($entityTable) { + $this->entityTable = $entityTable; + return $this; + } + + /** + * Get entityTable + * + * @return string + */ + public function getEntityTable() { + return $this->entityTable; + } + + /** + * Set entityId + * + * @param integer $entityId + * @return MailingGroup + */ + public function setEntityId($entityId) { + $this->entityId = $entityId; + return $this; + } + + /** + * Get entityId + * + * @return integer + */ + public function getEntityId() { + return $this->entityId; + } + + /** + * Set searchId + * + * @param int $searchId + * @return MailingGroup + */ + public function setSearchId($searchId) { + $this->searchId = $searchId; + return $this; + } + + /** + * Get searchId + * + * @return int + */ + public function getSearchId() { + return $this->searchId; + } + + /** + * Set searchArgs + * + * @param text $searchArgs + * @return MailingGroup + */ + public function setSearchArgs($searchArgs) { + $this->searchArgs = $searchArgs; + return $this; + } + + /** + * Get searchArgs + * + * @return text + */ + public function getSearchArgs() { + return $this->searchArgs; + } + +} + diff --git a/Civi/Mailing/MailingJob.php b/Civi/Mailing/MailingJob.php new file mode 100644 index 0000000000..88f3f6491c --- /dev/null +++ b/Civi/Mailing/MailingJob.php @@ -0,0 +1,348 @@ +id; + } + + /** + * Set mailing + * + * @param \Civi\Mailing\Mailing $mailing + * @return MailingJob + */ + public function setMailing(\Civi\Mailing\Mailing $mailing = null) { + $this->mailing = $mailing; + return $this; + } + + /** + * Get mailing + * + * @return \Civi\Mailing\Mailing + */ + public function getMailing() { + return $this->mailing; + } + + /** + * Set scheduledDate + * + * @param datetime $scheduledDate + * @return MailingJob + */ + public function setScheduledDate($scheduledDate) { + $this->scheduledDate = $scheduledDate; + return $this; + } + + /** + * Get scheduledDate + * + * @return datetime + */ + public function getScheduledDate() { + return $this->scheduledDate; + } + + /** + * Set startDate + * + * @param datetime $startDate + * @return MailingJob + */ + public function setStartDate($startDate) { + $this->startDate = $startDate; + return $this; + } + + /** + * Get startDate + * + * @return datetime + */ + public function getStartDate() { + return $this->startDate; + } + + /** + * Set endDate + * + * @param datetime $endDate + * @return MailingJob + */ + public function setEndDate($endDate) { + $this->endDate = $endDate; + return $this; + } + + /** + * Get endDate + * + * @return datetime + */ + public function getEndDate() { + return $this->endDate; + } + + /** + * Set status + * + * @param string $status + * @return MailingJob + */ + public function setStatus($status) { + $this->status = $status; + return $this; + } + + /** + * Get status + * + * @return string + */ + public function getStatus() { + return $this->status; + } + + /** + * Set isTest + * + * @param boolean $isTest + * @return MailingJob + */ + public function setIsTest($isTest) { + $this->isTest = $isTest; + return $this; + } + + /** + * Get isTest + * + * @return boolean + */ + public function getIsTest() { + return $this->isTest; + } + + /** + * Set jobType + * + * @param string $jobType + * @return MailingJob + */ + public function setJobType($jobType) { + $this->jobType = $jobType; + return $this; + } + + /** + * Get jobType + * + * @return string + */ + public function getJobType() { + return $this->jobType; + } + + /** + * Set parent + * + * @param \Civi\Mailing\MailingJob $parent + * @return MailingJob + */ + public function setParent(\Civi\Mailing\MailingJob $parent = null) { + $this->parent = $parent; + return $this; + } + + /** + * Get parent + * + * @return \Civi\Mailing\MailingJob + */ + public function getParent() { + return $this->parent; + } + + /** + * Set jobOffset + * + * @param int $jobOffset + * @return MailingJob + */ + public function setJobOffset($jobOffset) { + $this->jobOffset = $jobOffset; + return $this; + } + + /** + * Get jobOffset + * + * @return int + */ + public function getJobOffset() { + return $this->jobOffset; + } + + /** + * Set jobLimit + * + * @param int $jobLimit + * @return MailingJob + */ + public function setJobLimit($jobLimit) { + $this->jobLimit = $jobLimit; + return $this; + } + + /** + * Get jobLimit + * + * @return int + */ + public function getJobLimit() { + return $this->jobLimit; + } + +} + diff --git a/Civi/Mailing/Recipients.php b/Civi/Mailing/Recipients.php new file mode 100644 index 0000000000..03c03b2c71 --- /dev/null +++ b/Civi/Mailing/Recipients.php @@ -0,0 +1,180 @@ +id; + } + + /** + * Set mailing + * + * @param \Civi\Mailing\Mailing $mailing + * @return Recipients + */ + public function setMailing(\Civi\Mailing\Mailing $mailing = null) { + $this->mailing = $mailing; + return $this; + } + + /** + * Get mailing + * + * @return \Civi\Mailing\Mailing + */ + public function getMailing() { + return $this->mailing; + } + + /** + * Set contact + * + * @param \Civi\Contact\Contact $contact + * @return Recipients + */ + public function setContact(\Civi\Contact\Contact $contact = null) { + $this->contact = $contact; + return $this; + } + + /** + * Get contact + * + * @return \Civi\Contact\Contact + */ + public function getContact() { + return $this->contact; + } + + /** + * Set email + * + * @param \Civi\Core\Email $email + * @return Recipients + */ + public function setEmail(\Civi\Core\Email $email = null) { + $this->email = $email; + return $this; + } + + /** + * Get email + * + * @return \Civi\Core\Email + */ + public function getEmail() { + return $this->email; + } + + /** + * Set phone + * + * @param \Civi\Core\Phone $phone + * @return Recipients + */ + public function setPhone(\Civi\Core\Phone $phone = null) { + $this->phone = $phone; + return $this; + } + + /** + * Get phone + * + * @return \Civi\Core\Phone + */ + public function getPhone() { + return $this->phone; + } + +} + diff --git a/Civi/Mailing/Spool.php b/Civi/Mailing/Spool.php new file mode 100644 index 0000000000..2d5d935c9c --- /dev/null +++ b/Civi/Mailing/Spool.php @@ -0,0 +1,236 @@ +id; + } + + /** + * Set job + * + * @param \Civi\Mailing\MailingJob $job + * @return Spool + */ + public function setJob(\Civi\Mailing\MailingJob $job = null) { + $this->job = $job; + return $this; + } + + /** + * Get job + * + * @return \Civi\Mailing\MailingJob + */ + public function getJob() { + return $this->job; + } + + /** + * Set recipientEmail + * + * @param text $recipientEmail + * @return Spool + */ + public function setRecipientEmail($recipientEmail) { + $this->recipientEmail = $recipientEmail; + return $this; + } + + /** + * Get recipientEmail + * + * @return text + */ + public function getRecipientEmail() { + return $this->recipientEmail; + } + + /** + * Set headers + * + * @param text $headers + * @return Spool + */ + public function setHeaders($headers) { + $this->headers = $headers; + return $this; + } + + /** + * Get headers + * + * @return text + */ + public function getHeaders() { + return $this->headers; + } + + /** + * Set body + * + * @param text $body + * @return Spool + */ + public function setBody($body) { + $this->body = $body; + return $this; + } + + /** + * Get body + * + * @return text + */ + public function getBody() { + return $this->body; + } + + /** + * Set addedAt + * + * @param datetime $addedAt + * @return Spool + */ + public function setAddedAt($addedAt) { + $this->addedAt = $addedAt; + return $this; + } + + /** + * Get addedAt + * + * @return datetime + */ + public function getAddedAt() { + return $this->addedAt; + } + + /** + * Set removedAt + * + * @param datetime $removedAt + * @return Spool + */ + public function setRemovedAt($removedAt) { + $this->removedAt = $removedAt; + return $this; + } + + /** + * Get removedAt + * + * @return datetime + */ + public function getRemovedAt() { + return $this->removedAt; + } + +} + diff --git a/Civi/Mailing/TrackableURL.php b/Civi/Mailing/TrackableURL.php new file mode 100644 index 0000000000..71c030c4b6 --- /dev/null +++ b/Civi/Mailing/TrackableURL.php @@ -0,0 +1,124 @@ +id; + } + + /** + * Set url + * + * @param string $url + * @return TrackableURL + */ + public function setUrl($url) { + $this->url = $url; + return $this; + } + + /** + * Get url + * + * @return string + */ + public function getUrl() { + return $this->url; + } + + /** + * Set mailing + * + * @param \Civi\Mailing\Mailing $mailing + * @return TrackableURL + */ + public function setMailing(\Civi\Mailing\Mailing $mailing = null) { + $this->mailing = $mailing; + return $this; + } + + /** + * Get mailing + * + * @return \Civi\Mailing\Mailing + */ + public function getMailing() { + return $this->mailing; + } + +} + diff --git a/Civi/Member/Membership.php b/Civi/Member/Membership.php new file mode 100644 index 0000000000..7b128347fa --- /dev/null +++ b/Civi/Member/Membership.php @@ -0,0 +1,460 @@ +id; + } + + /** + * Set contact + * + * @param \Civi\Contact\Contact $contact + * @return Membership + */ + public function setContact(\Civi\Contact\Contact $contact = null) { + $this->contact = $contact; + return $this; + } + + /** + * Get contact + * + * @return \Civi\Contact\Contact + */ + public function getContact() { + return $this->contact; + } + + /** + * Set membershipType + * + * @param \Civi\Member\MembershipType $membershipType + * @return Membership + */ + public function setMembershipType(\Civi\Member\MembershipType $membershipType = null) { + $this->membershipType = $membershipType; + return $this; + } + + /** + * Get membershipType + * + * @return \Civi\Member\MembershipType + */ + public function getMembershipType() { + return $this->membershipType; + } + + /** + * Set joinDate + * + * @param date $joinDate + * @return Membership + */ + public function setJoinDate($joinDate) { + $this->joinDate = $joinDate; + return $this; + } + + /** + * Get joinDate + * + * @return date + */ + public function getJoinDate() { + return $this->joinDate; + } + + /** + * Set startDate + * + * @param date $startDate + * @return Membership + */ + public function setStartDate($startDate) { + $this->startDate = $startDate; + return $this; + } + + /** + * Get startDate + * + * @return date + */ + public function getStartDate() { + return $this->startDate; + } + + /** + * Set endDate + * + * @param date $endDate + * @return Membership + */ + public function setEndDate($endDate) { + $this->endDate = $endDate; + return $this; + } + + /** + * Get endDate + * + * @return date + */ + public function getEndDate() { + return $this->endDate; + } + + /** + * Set source + * + * @param string $source + * @return Membership + */ + public function setSource($source) { + $this->source = $source; + return $this; + } + + /** + * Get source + * + * @return string + */ + public function getSource() { + return $this->source; + } + + /** + * Set status + * + * @param \Civi\Member\MembershipStatus $status + * @return Membership + */ + public function setStatus(\Civi\Member\MembershipStatus $status = null) { + $this->status = $status; + return $this; + } + + /** + * Get status + * + * @return \Civi\Member\MembershipStatus + */ + public function getStatus() { + return $this->status; + } + + /** + * Set isOverride + * + * @param boolean $isOverride + * @return Membership + */ + public function setIsOverride($isOverride) { + $this->isOverride = $isOverride; + return $this; + } + + /** + * Get isOverride + * + * @return boolean + */ + public function getIsOverride() { + return $this->isOverride; + } + + /** + * Set ownerMembership + * + * @param \Civi\Member\Membership $ownerMembership + * @return Membership + */ + public function setOwnerMembership(\Civi\Member\Membership $ownerMembership = null) { + $this->ownerMembership = $ownerMembership; + return $this; + } + + /** + * Get ownerMembership + * + * @return \Civi\Member\Membership + */ + public function getOwnerMembership() { + return $this->ownerMembership; + } + + /** + * Set maxRelated + * + * @param int $maxRelated + * @return Membership + */ + public function setMaxRelated($maxRelated) { + $this->maxRelated = $maxRelated; + return $this; + } + + /** + * Get maxRelated + * + * @return int + */ + public function getMaxRelated() { + return $this->maxRelated; + } + + /** + * Set isTest + * + * @param boolean $isTest + * @return Membership + */ + public function setIsTest($isTest) { + $this->isTest = $isTest; + return $this; + } + + /** + * Get isTest + * + * @return boolean + */ + public function getIsTest() { + return $this->isTest; + } + + /** + * Set isPayLater + * + * @param boolean $isPayLater + * @return Membership + */ + public function setIsPayLater($isPayLater) { + $this->isPayLater = $isPayLater; + return $this; + } + + /** + * Get isPayLater + * + * @return boolean + */ + public function getIsPayLater() { + return $this->isPayLater; + } + + /** + * Set contributionRecur + * + * @param \Civi\Contribute\ContributionRecur $contributionRecur + * @return Membership + */ + public function setContributionRecur(\Civi\Contribute\ContributionRecur $contributionRecur = null) { + $this->contributionRecur = $contributionRecur; + return $this; + } + + /** + * Get contributionRecur + * + * @return \Civi\Contribute\ContributionRecur + */ + public function getContributionRecur() { + return $this->contributionRecur; + } + + /** + * Set campaign + * + * @param \Civi\Campaign\Campaign $campaign + * @return Membership + */ + public function setCampaign(\Civi\Campaign\Campaign $campaign = null) { + $this->campaign = $campaign; + return $this; + } + + /** + * Get campaign + * + * @return \Civi\Campaign\Campaign + */ + public function getCampaign() { + return $this->campaign; + } + +} + diff --git a/Civi/Member/MembershipBlock.php b/Civi/Member/MembershipBlock.php new file mode 100644 index 0000000000..696e48eb65 --- /dev/null +++ b/Civi/Member/MembershipBlock.php @@ -0,0 +1,404 @@ +id; + } + + /** + * Set entityTable + * + * @param string $entityTable + * @return MembershipBlock + */ + public function setEntityTable($entityTable) { + $this->entityTable = $entityTable; + return $this; + } + + /** + * Get entityTable + * + * @return string + */ + public function getEntityTable() { + return $this->entityTable; + } + + /** + * Set entity + * + * @param \Civi\Contribute\ContributionPage $entity + * @return MembershipBlock + */ + public function setEntity(\Civi\Contribute\ContributionPage $entity = null) { + $this->entity = $entity; + return $this; + } + + /** + * Get entity + * + * @return \Civi\Contribute\ContributionPage + */ + public function getEntity() { + return $this->entity; + } + + /** + * Set membershipTypes + * + * @param string $membershipTypes + * @return MembershipBlock + */ + public function setMembershipTypes($membershipTypes) { + $this->membershipTypes = $membershipTypes; + return $this; + } + + /** + * Get membershipTypes + * + * @return string + */ + public function getMembershipTypes() { + return $this->membershipTypes; + } + + /** + * Set membershipTypeDefault + * + * @param \Civi\Member\MembershipType $membershipTypeDefault + * @return MembershipBlock + */ + public function setMembershipTypeDefault(\Civi\Member\MembershipType $membershipTypeDefault = null) { + $this->membershipTypeDefault = $membershipTypeDefault; + return $this; + } + + /** + * Get membershipTypeDefault + * + * @return \Civi\Member\MembershipType + */ + public function getMembershipTypeDefault() { + return $this->membershipTypeDefault; + } + + /** + * Set displayMinFee + * + * @param boolean $displayMinFee + * @return MembershipBlock + */ + public function setDisplayMinFee($displayMinFee) { + $this->displayMinFee = $displayMinFee; + return $this; + } + + /** + * Get displayMinFee + * + * @return boolean + */ + public function getDisplayMinFee() { + return $this->displayMinFee; + } + + /** + * Set isSeparatePayment + * + * @param boolean $isSeparatePayment + * @return MembershipBlock + */ + public function setIsSeparatePayment($isSeparatePayment) { + $this->isSeparatePayment = $isSeparatePayment; + return $this; + } + + /** + * Get isSeparatePayment + * + * @return boolean + */ + public function getIsSeparatePayment() { + return $this->isSeparatePayment; + } + + /** + * Set newTitle + * + * @param string $newTitle + * @return MembershipBlock + */ + public function setNewTitle($newTitle) { + $this->newTitle = $newTitle; + return $this; + } + + /** + * Get newTitle + * + * @return string + */ + public function getNewTitle() { + return $this->newTitle; + } + + /** + * Set newText + * + * @param text $newText + * @return MembershipBlock + */ + public function setNewText($newText) { + $this->newText = $newText; + return $this; + } + + /** + * Get newText + * + * @return text + */ + public function getNewText() { + return $this->newText; + } + + /** + * Set renewalTitle + * + * @param string $renewalTitle + * @return MembershipBlock + */ + public function setRenewalTitle($renewalTitle) { + $this->renewalTitle = $renewalTitle; + return $this; + } + + /** + * Get renewalTitle + * + * @return string + */ + public function getRenewalTitle() { + return $this->renewalTitle; + } + + /** + * Set renewalText + * + * @param text $renewalText + * @return MembershipBlock + */ + public function setRenewalText($renewalText) { + $this->renewalText = $renewalText; + return $this; + } + + /** + * Get renewalText + * + * @return text + */ + public function getRenewalText() { + return $this->renewalText; + } + + /** + * Set isRequired + * + * @param boolean $isRequired + * @return MembershipBlock + */ + public function setIsRequired($isRequired) { + $this->isRequired = $isRequired; + return $this; + } + + /** + * Get isRequired + * + * @return boolean + */ + public function getIsRequired() { + return $this->isRequired; + } + + /** + * Set isActive + * + * @param boolean $isActive + * @return MembershipBlock + */ + public function setIsActive($isActive) { + $this->isActive = $isActive; + return $this; + } + + /** + * Get isActive + * + * @return boolean + */ + public function getIsActive() { + return $this->isActive; + } + +} + diff --git a/Civi/Member/MembershipLog.php b/Civi/Member/MembershipLog.php new file mode 100644 index 0000000000..211ac7e230 --- /dev/null +++ b/Civi/Member/MembershipLog.php @@ -0,0 +1,292 @@ +id; + } + + /** + * Set membership + * + * @param \Civi\Member\Membership $membership + * @return MembershipLog + */ + public function setMembership(\Civi\Member\Membership $membership = null) { + $this->membership = $membership; + return $this; + } + + /** + * Get membership + * + * @return \Civi\Member\Membership + */ + public function getMembership() { + return $this->membership; + } + + /** + * Set status + * + * @param \Civi\Member\MembershipStatus $status + * @return MembershipLog + */ + public function setStatus(\Civi\Member\MembershipStatus $status = null) { + $this->status = $status; + return $this; + } + + /** + * Get status + * + * @return \Civi\Member\MembershipStatus + */ + public function getStatus() { + return $this->status; + } + + /** + * Set startDate + * + * @param date $startDate + * @return MembershipLog + */ + public function setStartDate($startDate) { + $this->startDate = $startDate; + return $this; + } + + /** + * Get startDate + * + * @return date + */ + public function getStartDate() { + return $this->startDate; + } + + /** + * Set endDate + * + * @param date $endDate + * @return MembershipLog + */ + public function setEndDate($endDate) { + $this->endDate = $endDate; + return $this; + } + + /** + * Get endDate + * + * @return date + */ + public function getEndDate() { + return $this->endDate; + } + + /** + * Set modified + * + * @param \Civi\Contact\Contact $modified + * @return MembershipLog + */ + public function setModified(\Civi\Contact\Contact $modified = null) { + $this->modified = $modified; + return $this; + } + + /** + * Get modified + * + * @return \Civi\Contact\Contact + */ + public function getModified() { + return $this->modified; + } + + /** + * Set modifiedDate + * + * @param date $modifiedDate + * @return MembershipLog + */ + public function setModifiedDate($modifiedDate) { + $this->modifiedDate = $modifiedDate; + return $this; + } + + /** + * Get modifiedDate + * + * @return date + */ + public function getModifiedDate() { + return $this->modifiedDate; + } + + /** + * Set membershipType + * + * @param \Civi\Member\MembershipType $membershipType + * @return MembershipLog + */ + public function setMembershipType(\Civi\Member\MembershipType $membershipType = null) { + $this->membershipType = $membershipType; + return $this; + } + + /** + * Get membershipType + * + * @return \Civi\Member\MembershipType + */ + public function getMembershipType() { + return $this->membershipType; + } + + /** + * Set maxRelated + * + * @param int $maxRelated + * @return MembershipLog + */ + public function setMaxRelated($maxRelated) { + $this->maxRelated = $maxRelated; + return $this; + } + + /** + * Get maxRelated + * + * @return int + */ + public function getMaxRelated() { + return $this->maxRelated; + } + +} + diff --git a/Civi/Member/MembershipPayment.php b/Civi/Member/MembershipPayment.php new file mode 100644 index 0000000000..b2e0a19f80 --- /dev/null +++ b/Civi/Member/MembershipPayment.php @@ -0,0 +1,124 @@ +id; + } + + /** + * Set membership + * + * @param \Civi\Member\Membership $membership + * @return MembershipPayment + */ + public function setMembership(\Civi\Member\Membership $membership = null) { + $this->membership = $membership; + return $this; + } + + /** + * Get membership + * + * @return \Civi\Member\Membership + */ + public function getMembership() { + return $this->membership; + } + + /** + * Set contribution + * + * @param \Civi\Contribute\Contribution $contribution + * @return MembershipPayment + */ + public function setContribution(\Civi\Contribute\Contribution $contribution = null) { + $this->contribution = $contribution; + return $this; + } + + /** + * Get contribution + * + * @return \Civi\Contribute\Contribution + */ + public function getContribution() { + return $this->contribution; + } + +} + diff --git a/Civi/Member/MembershipStatus.php b/Civi/Member/MembershipStatus.php new file mode 100644 index 0000000000..28bfec14b5 --- /dev/null +++ b/Civi/Member/MembershipStatus.php @@ -0,0 +1,460 @@ +id; + } + + /** + * Set name + * + * @param string $name + * @return MembershipStatus + */ + public function setName($name) { + $this->name = $name; + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() { + return $this->name; + } + + /** + * Set label + * + * @param string $label + * @return MembershipStatus + */ + public function setLabel($label) { + $this->label = $label; + return $this; + } + + /** + * Get label + * + * @return string + */ + public function getLabel() { + return $this->label; + } + + /** + * Set startEvent + * + * @param string $startEvent + * @return MembershipStatus + */ + public function setStartEvent($startEvent) { + $this->startEvent = $startEvent; + return $this; + } + + /** + * Get startEvent + * + * @return string + */ + public function getStartEvent() { + return $this->startEvent; + } + + /** + * Set startEventAdjustUnit + * + * @param string $startEventAdjustUnit + * @return MembershipStatus + */ + public function setStartEventAdjustUnit($startEventAdjustUnit) { + $this->startEventAdjustUnit = $startEventAdjustUnit; + return $this; + } + + /** + * Get startEventAdjustUnit + * + * @return string + */ + public function getStartEventAdjustUnit() { + return $this->startEventAdjustUnit; + } + + /** + * Set startEventAdjustInterval + * + * @param int $startEventAdjustInterval + * @return MembershipStatus + */ + public function setStartEventAdjustInterval($startEventAdjustInterval) { + $this->startEventAdjustInterval = $startEventAdjustInterval; + return $this; + } + + /** + * Get startEventAdjustInterval + * + * @return int + */ + public function getStartEventAdjustInterval() { + return $this->startEventAdjustInterval; + } + + /** + * Set endEvent + * + * @param string $endEvent + * @return MembershipStatus + */ + public function setEndEvent($endEvent) { + $this->endEvent = $endEvent; + return $this; + } + + /** + * Get endEvent + * + * @return string + */ + public function getEndEvent() { + return $this->endEvent; + } + + /** + * Set endEventAdjustUnit + * + * @param string $endEventAdjustUnit + * @return MembershipStatus + */ + public function setEndEventAdjustUnit($endEventAdjustUnit) { + $this->endEventAdjustUnit = $endEventAdjustUnit; + return $this; + } + + /** + * Get endEventAdjustUnit + * + * @return string + */ + public function getEndEventAdjustUnit() { + return $this->endEventAdjustUnit; + } + + /** + * Set endEventAdjustInterval + * + * @param int $endEventAdjustInterval + * @return MembershipStatus + */ + public function setEndEventAdjustInterval($endEventAdjustInterval) { + $this->endEventAdjustInterval = $endEventAdjustInterval; + return $this; + } + + /** + * Get endEventAdjustInterval + * + * @return int + */ + public function getEndEventAdjustInterval() { + return $this->endEventAdjustInterval; + } + + /** + * Set isCurrentMember + * + * @param boolean $isCurrentMember + * @return MembershipStatus + */ + public function setIsCurrentMember($isCurrentMember) { + $this->isCurrentMember = $isCurrentMember; + return $this; + } + + /** + * Get isCurrentMember + * + * @return boolean + */ + public function getIsCurrentMember() { + return $this->isCurrentMember; + } + + /** + * Set isAdmin + * + * @param boolean $isAdmin + * @return MembershipStatus + */ + public function setIsAdmin($isAdmin) { + $this->isAdmin = $isAdmin; + return $this; + } + + /** + * Get isAdmin + * + * @return boolean + */ + public function getIsAdmin() { + return $this->isAdmin; + } + + /** + * Set weight + * + * @param int $weight + * @return MembershipStatus + */ + public function setWeight($weight) { + $this->weight = $weight; + return $this; + } + + /** + * Get weight + * + * @return int + */ + public function getWeight() { + return $this->weight; + } + + /** + * Set isDefault + * + * @param boolean $isDefault + * @return MembershipStatus + */ + public function setIsDefault($isDefault) { + $this->isDefault = $isDefault; + return $this; + } + + /** + * Get isDefault + * + * @return boolean + */ + public function getIsDefault() { + return $this->isDefault; + } + + /** + * Set isActive + * + * @param boolean $isActive + * @return MembershipStatus + */ + public function setIsActive($isActive) { + $this->isActive = $isActive; + return $this; + } + + /** + * Get isActive + * + * @return boolean + */ + public function getIsActive() { + return $this->isActive; + } + + /** + * Set isReserved + * + * @param boolean $isReserved + * @return MembershipStatus + */ + public function setIsReserved($isReserved) { + $this->isReserved = $isReserved; + return $this; + } + + /** + * Get isReserved + * + * @return boolean + */ + public function getIsReserved() { + return $this->isReserved; + } + +} + diff --git a/Civi/Member/MembershipType.php b/Civi/Member/MembershipType.php new file mode 100644 index 0000000000..90f3d2c573 --- /dev/null +++ b/Civi/Member/MembershipType.php @@ -0,0 +1,628 @@ +id; + } + + /** + * Set domain + * + * @param \Civi\Core\Domain $domain + * @return MembershipType + */ + public function setDomain(\Civi\Core\Domain $domain = null) { + $this->domain = $domain; + return $this; + } + + /** + * Get domain + * + * @return \Civi\Core\Domain + */ + public function getDomain() { + return $this->domain; + } + + /** + * Set name + * + * @param string $name + * @return MembershipType + */ + public function setName($name) { + $this->name = $name; + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() { + return $this->name; + } + + /** + * Set description + * + * @param string $description + * @return MembershipType + */ + public function setDescription($description) { + $this->description = $description; + return $this; + } + + /** + * Get description + * + * @return string + */ + public function getDescription() { + return $this->description; + } + + /** + * Set memberOfContact + * + * @param \Civi\Contact\Contact $memberOfContact + * @return MembershipType + */ + public function setMemberOfContact(\Civi\Contact\Contact $memberOfContact = null) { + $this->memberOfContact = $memberOfContact; + return $this; + } + + /** + * Get memberOfContact + * + * @return \Civi\Contact\Contact + */ + public function getMemberOfContact() { + return $this->memberOfContact; + } + + /** + * Set financialType + * + * @param \Civi\Financial\FinancialType $financialType + * @return MembershipType + */ + public function setFinancialType(\Civi\Financial\FinancialType $financialType = null) { + $this->financialType = $financialType; + return $this; + } + + /** + * Get financialType + * + * @return \Civi\Financial\FinancialType + */ + public function getFinancialType() { + return $this->financialType; + } + + /** + * Set minimumFee + * + * @param float $minimumFee + * @return MembershipType + */ + public function setMinimumFee($minimumFee) { + $this->minimumFee = $minimumFee; + return $this; + } + + /** + * Get minimumFee + * + * @return float + */ + public function getMinimumFee() { + return $this->minimumFee; + } + + /** + * Set durationUnit + * + * @param string $durationUnit + * @return MembershipType + */ + public function setDurationUnit($durationUnit) { + $this->durationUnit = $durationUnit; + return $this; + } + + /** + * Get durationUnit + * + * @return string + */ + public function getDurationUnit() { + return $this->durationUnit; + } + + /** + * Set durationInterval + * + * @param int $durationInterval + * @return MembershipType + */ + public function setDurationInterval($durationInterval) { + $this->durationInterval = $durationInterval; + return $this; + } + + /** + * Get durationInterval + * + * @return int + */ + public function getDurationInterval() { + return $this->durationInterval; + } + + /** + * Set periodType + * + * @param string $periodType + * @return MembershipType + */ + public function setPeriodType($periodType) { + $this->periodType = $periodType; + return $this; + } + + /** + * Get periodType + * + * @return string + */ + public function getPeriodType() { + return $this->periodType; + } + + /** + * Set fixedPeriodStartDay + * + * @param int $fixedPeriodStartDay + * @return MembershipType + */ + public function setFixedPeriodStartDay($fixedPeriodStartDay) { + $this->fixedPeriodStartDay = $fixedPeriodStartDay; + return $this; + } + + /** + * Get fixedPeriodStartDay + * + * @return int + */ + public function getFixedPeriodStartDay() { + return $this->fixedPeriodStartDay; + } + + /** + * Set fixedPeriodRolloverDay + * + * @param int $fixedPeriodRolloverDay + * @return MembershipType + */ + public function setFixedPeriodRolloverDay($fixedPeriodRolloverDay) { + $this->fixedPeriodRolloverDay = $fixedPeriodRolloverDay; + return $this; + } + + /** + * Get fixedPeriodRolloverDay + * + * @return int + */ + public function getFixedPeriodRolloverDay() { + return $this->fixedPeriodRolloverDay; + } + + /** + * Set relationshipTypeId + * + * @param string $relationshipTypeId + * @return MembershipType + */ + public function setRelationshipTypeId($relationshipTypeId) { + $this->relationshipTypeId = $relationshipTypeId; + return $this; + } + + /** + * Get relationshipTypeId + * + * @return string + */ + public function getRelationshipTypeId() { + return $this->relationshipTypeId; + } + + /** + * Set relationshipDirection + * + * @param string $relationshipDirection + * @return MembershipType + */ + public function setRelationshipDirection($relationshipDirection) { + $this->relationshipDirection = $relationshipDirection; + return $this; + } + + /** + * Get relationshipDirection + * + * @return string + */ + public function getRelationshipDirection() { + return $this->relationshipDirection; + } + + /** + * Set maxRelated + * + * @param int $maxRelated + * @return MembershipType + */ + public function setMaxRelated($maxRelated) { + $this->maxRelated = $maxRelated; + return $this; + } + + /** + * Get maxRelated + * + * @return int + */ + public function getMaxRelated() { + return $this->maxRelated; + } + + /** + * Set visibility + * + * @param string $visibility + * @return MembershipType + */ + public function setVisibility($visibility) { + $this->visibility = $visibility; + return $this; + } + + /** + * Get visibility + * + * @return string + */ + public function getVisibility() { + return $this->visibility; + } + + /** + * Set weight + * + * @param int $weight + * @return MembershipType + */ + public function setWeight($weight) { + $this->weight = $weight; + return $this; + } + + /** + * Get weight + * + * @return int + */ + public function getWeight() { + return $this->weight; + } + + /** + * Set receiptTextSignup + * + * @param string $receiptTextSignup + * @return MembershipType + */ + public function setReceiptTextSignup($receiptTextSignup) { + $this->receiptTextSignup = $receiptTextSignup; + return $this; + } + + /** + * Get receiptTextSignup + * + * @return string + */ + public function getReceiptTextSignup() { + return $this->receiptTextSignup; + } + + /** + * Set receiptTextRenewal + * + * @param string $receiptTextRenewal + * @return MembershipType + */ + public function setReceiptTextRenewal($receiptTextRenewal) { + $this->receiptTextRenewal = $receiptTextRenewal; + return $this; + } + + /** + * Get receiptTextRenewal + * + * @return string + */ + public function getReceiptTextRenewal() { + return $this->receiptTextRenewal; + } + + /** + * Set autoRenew + * + * @param boolean $autoRenew + * @return MembershipType + */ + public function setAutoRenew($autoRenew) { + $this->autoRenew = $autoRenew; + return $this; + } + + /** + * Get autoRenew + * + * @return boolean + */ + public function getAutoRenew() { + return $this->autoRenew; + } + + /** + * Set isActive + * + * @param boolean $isActive + * @return MembershipType + */ + public function setIsActive($isActive) { + $this->isActive = $isActive; + return $this; + } + + /** + * Get isActive + * + * @return boolean + */ + public function getIsActive() { + return $this->isActive; + } + +} + diff --git a/Civi/PCP/PCP.php b/Civi/PCP/PCP.php new file mode 100644 index 0000000000..bf397a1eca --- /dev/null +++ b/Civi/PCP/PCP.php @@ -0,0 +1,460 @@ +id; + } + + /** + * Set contact + * + * @param \Civi\Contact\Contact $contact + * @return PCP + */ + public function setContact(\Civi\Contact\Contact $contact = null) { + $this->contact = $contact; + return $this; + } + + /** + * Get contact + * + * @return \Civi\Contact\Contact + */ + public function getContact() { + return $this->contact; + } + + /** + * Set statusId + * + * @param integer $statusId + * @return PCP + */ + public function setStatusId($statusId) { + $this->statusId = $statusId; + return $this; + } + + /** + * Get statusId + * + * @return integer + */ + public function getStatusId() { + return $this->statusId; + } + + /** + * Set title + * + * @param string $title + * @return PCP + */ + public function setTitle($title) { + $this->title = $title; + return $this; + } + + /** + * Get title + * + * @return string + */ + public function getTitle() { + return $this->title; + } + + /** + * Set introText + * + * @param text $introText + * @return PCP + */ + public function setIntroText($introText) { + $this->introText = $introText; + return $this; + } + + /** + * Get introText + * + * @return text + */ + public function getIntroText() { + return $this->introText; + } + + /** + * Set pageText + * + * @param text $pageText + * @return PCP + */ + public function setPageText($pageText) { + $this->pageText = $pageText; + return $this; + } + + /** + * Get pageText + * + * @return text + */ + public function getPageText() { + return $this->pageText; + } + + /** + * Set donateLinkText + * + * @param string $donateLinkText + * @return PCP + */ + public function setDonateLinkText($donateLinkText) { + $this->donateLinkText = $donateLinkText; + return $this; + } + + /** + * Get donateLinkText + * + * @return string + */ + public function getDonateLinkText() { + return $this->donateLinkText; + } + + /** + * Set pageId + * + * @param integer $pageId + * @return PCP + */ + public function setPageId($pageId) { + $this->pageId = $pageId; + return $this; + } + + /** + * Get pageId + * + * @return integer + */ + public function getPageId() { + return $this->pageId; + } + + /** + * Set pageType + * + * @param string $pageType + * @return PCP + */ + public function setPageType($pageType) { + $this->pageType = $pageType; + return $this; + } + + /** + * Get pageType + * + * @return string + */ + public function getPageType() { + return $this->pageType; + } + + /** + * Set pcpBlockId + * + * @param integer $pcpBlockId + * @return PCP + */ + public function setPcpBlockId($pcpBlockId) { + $this->pcpBlockId = $pcpBlockId; + return $this; + } + + /** + * Get pcpBlockId + * + * @return integer + */ + public function getPcpBlockId() { + return $this->pcpBlockId; + } + + /** + * Set isThermometer + * + * @param integer $isThermometer + * @return PCP + */ + public function setIsThermometer($isThermometer) { + $this->isThermometer = $isThermometer; + return $this; + } + + /** + * Get isThermometer + * + * @return integer + */ + public function getIsThermometer() { + return $this->isThermometer; + } + + /** + * Set isHonorRoll + * + * @param integer $isHonorRoll + * @return PCP + */ + public function setIsHonorRoll($isHonorRoll) { + $this->isHonorRoll = $isHonorRoll; + return $this; + } + + /** + * Get isHonorRoll + * + * @return integer + */ + public function getIsHonorRoll() { + return $this->isHonorRoll; + } + + /** + * Set goalAmount + * + * @param float $goalAmount + * @return PCP + */ + public function setGoalAmount($goalAmount) { + $this->goalAmount = $goalAmount; + return $this; + } + + /** + * Get goalAmount + * + * @return float + */ + public function getGoalAmount() { + return $this->goalAmount; + } + + /** + * Set currency + * + * @param string $currency + * @return PCP + */ + public function setCurrency($currency) { + $this->currency = $currency; + return $this; + } + + /** + * Get currency + * + * @return string + */ + public function getCurrency() { + return $this->currency; + } + + /** + * Set isActive + * + * @param boolean $isActive + * @return PCP + */ + public function setIsActive($isActive) { + $this->isActive = $isActive; + return $this; + } + + /** + * Get isActive + * + * @return boolean + */ + public function getIsActive() { + return $this->isActive; + } + +} + diff --git a/Civi/PCP/PCPBlock.php b/Civi/PCP/PCPBlock.php new file mode 100644 index 0000000000..ad31285db2 --- /dev/null +++ b/Civi/PCP/PCPBlock.php @@ -0,0 +1,376 @@ +id; + } + + /** + * Set entityTable + * + * @param string $entityTable + * @return PCPBlock + */ + public function setEntityTable($entityTable) { + $this->entityTable = $entityTable; + return $this; + } + + /** + * Get entityTable + * + * @return string + */ + public function getEntityTable() { + return $this->entityTable; + } + + /** + * Set entityId + * + * @param integer $entityId + * @return PCPBlock + */ + public function setEntityId($entityId) { + $this->entityId = $entityId; + return $this; + } + + /** + * Get entityId + * + * @return integer + */ + public function getEntityId() { + return $this->entityId; + } + + /** + * Set targetEntityType + * + * @param string $targetEntityType + * @return PCPBlock + */ + public function setTargetEntityType($targetEntityType) { + $this->targetEntityType = $targetEntityType; + return $this; + } + + /** + * Get targetEntityType + * + * @return string + */ + public function getTargetEntityType() { + return $this->targetEntityType; + } + + /** + * Set targetEntityId + * + * @param integer $targetEntityId + * @return PCPBlock + */ + public function setTargetEntityId($targetEntityId) { + $this->targetEntityId = $targetEntityId; + return $this; + } + + /** + * Get targetEntityId + * + * @return integer + */ + public function getTargetEntityId() { + return $this->targetEntityId; + } + + /** + * Set supporterProfile + * + * @param \Civi\Core\UFGroup $supporterProfile + * @return PCPBlock + */ + public function setSupporterProfile(\Civi\Core\UFGroup $supporterProfile = null) { + $this->supporterProfile = $supporterProfile; + return $this; + } + + /** + * Get supporterProfile + * + * @return \Civi\Core\UFGroup + */ + public function getSupporterProfile() { + return $this->supporterProfile; + } + + /** + * Set isApprovalNeeded + * + * @param boolean $isApprovalNeeded + * @return PCPBlock + */ + public function setIsApprovalNeeded($isApprovalNeeded) { + $this->isApprovalNeeded = $isApprovalNeeded; + return $this; + } + + /** + * Get isApprovalNeeded + * + * @return boolean + */ + public function getIsApprovalNeeded() { + return $this->isApprovalNeeded; + } + + /** + * Set isTellfriendEnabled + * + * @param boolean $isTellfriendEnabled + * @return PCPBlock + */ + public function setIsTellfriendEnabled($isTellfriendEnabled) { + $this->isTellfriendEnabled = $isTellfriendEnabled; + return $this; + } + + /** + * Get isTellfriendEnabled + * + * @return boolean + */ + public function getIsTellfriendEnabled() { + return $this->isTellfriendEnabled; + } + + /** + * Set tellfriendLimit + * + * @param integer $tellfriendLimit + * @return PCPBlock + */ + public function setTellfriendLimit($tellfriendLimit) { + $this->tellfriendLimit = $tellfriendLimit; + return $this; + } + + /** + * Get tellfriendLimit + * + * @return integer + */ + public function getTellfriendLimit() { + return $this->tellfriendLimit; + } + + /** + * Set linkText + * + * @param string $linkText + * @return PCPBlock + */ + public function setLinkText($linkText) { + $this->linkText = $linkText; + return $this; + } + + /** + * Get linkText + * + * @return string + */ + public function getLinkText() { + return $this->linkText; + } + + /** + * Set isActive + * + * @param boolean $isActive + * @return PCPBlock + */ + public function setIsActive($isActive) { + $this->isActive = $isActive; + return $this; + } + + /** + * Get isActive + * + * @return boolean + */ + public function getIsActive() { + return $this->isActive; + } + + /** + * Set notifyEmail + * + * @param string $notifyEmail + * @return PCPBlock + */ + public function setNotifyEmail($notifyEmail) { + $this->notifyEmail = $notifyEmail; + return $this; + } + + /** + * Get notifyEmail + * + * @return string + */ + public function getNotifyEmail() { + return $this->notifyEmail; + } + +} + diff --git a/Civi/Pledge/Pledge.php b/Civi/Pledge/Pledge.php new file mode 100644 index 0000000000..70f3df1bd8 --- /dev/null +++ b/Civi/Pledge/Pledge.php @@ -0,0 +1,684 @@ +id; + } + + /** + * Set contact + * + * @param \Civi\Contact\Contact $contact + * @return Pledge + */ + public function setContact(\Civi\Contact\Contact $contact = null) { + $this->contact = $contact; + return $this; + } + + /** + * Get contact + * + * @return \Civi\Contact\Contact + */ + public function getContact() { + return $this->contact; + } + + /** + * Set financialType + * + * @param \Civi\Financial\FinancialType $financialType + * @return Pledge + */ + public function setFinancialType(\Civi\Financial\FinancialType $financialType = null) { + $this->financialType = $financialType; + return $this; + } + + /** + * Get financialType + * + * @return \Civi\Financial\FinancialType + */ + public function getFinancialType() { + return $this->financialType; + } + + /** + * Set contributionPage + * + * @param \Civi\Contribute\ContributionPage $contributionPage + * @return Pledge + */ + public function setContributionPage(\Civi\Contribute\ContributionPage $contributionPage = null) { + $this->contributionPage = $contributionPage; + return $this; + } + + /** + * Get contributionPage + * + * @return \Civi\Contribute\ContributionPage + */ + public function getContributionPage() { + return $this->contributionPage; + } + + /** + * Set amount + * + * @param float $amount + * @return Pledge + */ + public function setAmount($amount) { + $this->amount = $amount; + return $this; + } + + /** + * Get amount + * + * @return float + */ + public function getAmount() { + return $this->amount; + } + + /** + * Set originalInstallmentAmount + * + * @param float $originalInstallmentAmount + * @return Pledge + */ + public function setOriginalInstallmentAmount($originalInstallmentAmount) { + $this->originalInstallmentAmount = $originalInstallmentAmount; + return $this; + } + + /** + * Get originalInstallmentAmount + * + * @return float + */ + public function getOriginalInstallmentAmount() { + return $this->originalInstallmentAmount; + } + + /** + * Set currency + * + * @param string $currency + * @return Pledge + */ + public function setCurrency($currency) { + $this->currency = $currency; + return $this; + } + + /** + * Get currency + * + * @return string + */ + public function getCurrency() { + return $this->currency; + } + + /** + * Set frequencyUnit + * + * @param string $frequencyUnit + * @return Pledge + */ + public function setFrequencyUnit($frequencyUnit) { + $this->frequencyUnit = $frequencyUnit; + return $this; + } + + /** + * Get frequencyUnit + * + * @return string + */ + public function getFrequencyUnit() { + return $this->frequencyUnit; + } + + /** + * Set frequencyInterval + * + * @param integer $frequencyInterval + * @return Pledge + */ + public function setFrequencyInterval($frequencyInterval) { + $this->frequencyInterval = $frequencyInterval; + return $this; + } + + /** + * Get frequencyInterval + * + * @return integer + */ + public function getFrequencyInterval() { + return $this->frequencyInterval; + } + + /** + * Set frequencyDay + * + * @param integer $frequencyDay + * @return Pledge + */ + public function setFrequencyDay($frequencyDay) { + $this->frequencyDay = $frequencyDay; + return $this; + } + + /** + * Get frequencyDay + * + * @return integer + */ + public function getFrequencyDay() { + return $this->frequencyDay; + } + + /** + * Set installments + * + * @param integer $installments + * @return Pledge + */ + public function setInstallments($installments) { + $this->installments = $installments; + return $this; + } + + /** + * Get installments + * + * @return integer + */ + public function getInstallments() { + return $this->installments; + } + + /** + * Set startDate + * + * @param datetime $startDate + * @return Pledge + */ + public function setStartDate($startDate) { + $this->startDate = $startDate; + return $this; + } + + /** + * Get startDate + * + * @return datetime + */ + public function getStartDate() { + return $this->startDate; + } + + /** + * Set createDate + * + * @param datetime $createDate + * @return Pledge + */ + public function setCreateDate($createDate) { + $this->createDate = $createDate; + return $this; + } + + /** + * Get createDate + * + * @return datetime + */ + public function getCreateDate() { + return $this->createDate; + } + + /** + * Set acknowledgeDate + * + * @param datetime $acknowledgeDate + * @return Pledge + */ + public function setAcknowledgeDate($acknowledgeDate) { + $this->acknowledgeDate = $acknowledgeDate; + return $this; + } + + /** + * Get acknowledgeDate + * + * @return datetime + */ + public function getAcknowledgeDate() { + return $this->acknowledgeDate; + } + + /** + * Set modifiedDate + * + * @param datetime $modifiedDate + * @return Pledge + */ + public function setModifiedDate($modifiedDate) { + $this->modifiedDate = $modifiedDate; + return $this; + } + + /** + * Get modifiedDate + * + * @return datetime + */ + public function getModifiedDate() { + return $this->modifiedDate; + } + + /** + * Set cancelDate + * + * @param datetime $cancelDate + * @return Pledge + */ + public function setCancelDate($cancelDate) { + $this->cancelDate = $cancelDate; + return $this; + } + + /** + * Get cancelDate + * + * @return datetime + */ + public function getCancelDate() { + return $this->cancelDate; + } + + /** + * Set endDate + * + * @param datetime $endDate + * @return Pledge + */ + public function setEndDate($endDate) { + $this->endDate = $endDate; + return $this; + } + + /** + * Get endDate + * + * @return datetime + */ + public function getEndDate() { + return $this->endDate; + } + + /** + * Set maxReminders + * + * @param integer $maxReminders + * @return Pledge + */ + public function setMaxReminders($maxReminders) { + $this->maxReminders = $maxReminders; + return $this; + } + + /** + * Get maxReminders + * + * @return integer + */ + public function getMaxReminders() { + return $this->maxReminders; + } + + /** + * Set initialReminderDay + * + * @param integer $initialReminderDay + * @return Pledge + */ + public function setInitialReminderDay($initialReminderDay) { + $this->initialReminderDay = $initialReminderDay; + return $this; + } + + /** + * Get initialReminderDay + * + * @return integer + */ + public function getInitialReminderDay() { + return $this->initialReminderDay; + } + + /** + * Set additionalReminderDay + * + * @param integer $additionalReminderDay + * @return Pledge + */ + public function setAdditionalReminderDay($additionalReminderDay) { + $this->additionalReminderDay = $additionalReminderDay; + return $this; + } + + /** + * Get additionalReminderDay + * + * @return integer + */ + public function getAdditionalReminderDay() { + return $this->additionalReminderDay; + } + + /** + * Set statusId + * + * @param integer $statusId + * @return Pledge + */ + public function setStatusId($statusId) { + $this->statusId = $statusId; + return $this; + } + + /** + * Get statusId + * + * @return integer + */ + public function getStatusId() { + return $this->statusId; + } + + /** + * Set isTest + * + * @param boolean $isTest + * @return Pledge + */ + public function setIsTest($isTest) { + $this->isTest = $isTest; + return $this; + } + + /** + * Get isTest + * + * @return boolean + */ + public function getIsTest() { + return $this->isTest; + } + + /** + * Set campaign + * + * @param \Civi\Campaign\Campaign $campaign + * @return Pledge + */ + public function setCampaign(\Civi\Campaign\Campaign $campaign = null) { + $this->campaign = $campaign; + return $this; + } + + /** + * Get campaign + * + * @return \Civi\Campaign\Campaign + */ + public function getCampaign() { + return $this->campaign; + } + +} + diff --git a/Civi/Pledge/PledgeBlock.php b/Civi/Pledge/PledgeBlock.php new file mode 100644 index 0000000000..49ba664686 --- /dev/null +++ b/Civi/Pledge/PledgeBlock.php @@ -0,0 +1,264 @@ +id; + } + + /** + * Set entityTable + * + * @param string $entityTable + * @return PledgeBlock + */ + public function setEntityTable($entityTable) { + $this->entityTable = $entityTable; + return $this; + } + + /** + * Get entityTable + * + * @return string + */ + public function getEntityTable() { + return $this->entityTable; + } + + /** + * Set entityId + * + * @param integer $entityId + * @return PledgeBlock + */ + public function setEntityId($entityId) { + $this->entityId = $entityId; + return $this; + } + + /** + * Get entityId + * + * @return integer + */ + public function getEntityId() { + return $this->entityId; + } + + /** + * Set pledgeFrequencyUnit + * + * @param string $pledgeFrequencyUnit + * @return PledgeBlock + */ + public function setPledgeFrequencyUnit($pledgeFrequencyUnit) { + $this->pledgeFrequencyUnit = $pledgeFrequencyUnit; + return $this; + } + + /** + * Get pledgeFrequencyUnit + * + * @return string + */ + public function getPledgeFrequencyUnit() { + return $this->pledgeFrequencyUnit; + } + + /** + * Set isPledgeInterval + * + * @param boolean $isPledgeInterval + * @return PledgeBlock + */ + public function setIsPledgeInterval($isPledgeInterval) { + $this->isPledgeInterval = $isPledgeInterval; + return $this; + } + + /** + * Get isPledgeInterval + * + * @return boolean + */ + public function getIsPledgeInterval() { + return $this->isPledgeInterval; + } + + /** + * Set maxReminders + * + * @param integer $maxReminders + * @return PledgeBlock + */ + public function setMaxReminders($maxReminders) { + $this->maxReminders = $maxReminders; + return $this; + } + + /** + * Get maxReminders + * + * @return integer + */ + public function getMaxReminders() { + return $this->maxReminders; + } + + /** + * Set initialReminderDay + * + * @param integer $initialReminderDay + * @return PledgeBlock + */ + public function setInitialReminderDay($initialReminderDay) { + $this->initialReminderDay = $initialReminderDay; + return $this; + } + + /** + * Get initialReminderDay + * + * @return integer + */ + public function getInitialReminderDay() { + return $this->initialReminderDay; + } + + /** + * Set additionalReminderDay + * + * @param integer $additionalReminderDay + * @return PledgeBlock + */ + public function setAdditionalReminderDay($additionalReminderDay) { + $this->additionalReminderDay = $additionalReminderDay; + return $this; + } + + /** + * Get additionalReminderDay + * + * @return integer + */ + public function getAdditionalReminderDay() { + return $this->additionalReminderDay; + } + +} + diff --git a/Civi/Pledge/PledgePayment.php b/Civi/Pledge/PledgePayment.php new file mode 100644 index 0000000000..83603343cc --- /dev/null +++ b/Civi/Pledge/PledgePayment.php @@ -0,0 +1,320 @@ +id; + } + + /** + * Set pledge + * + * @param \Civi\Pledge\Pledge $pledge + * @return PledgePayment + */ + public function setPledge(\Civi\Pledge\Pledge $pledge = null) { + $this->pledge = $pledge; + return $this; + } + + /** + * Get pledge + * + * @return \Civi\Pledge\Pledge + */ + public function getPledge() { + return $this->pledge; + } + + /** + * Set contribution + * + * @param \Civi\Contribute\Contribution $contribution + * @return PledgePayment + */ + public function setContribution(\Civi\Contribute\Contribution $contribution = null) { + $this->contribution = $contribution; + return $this; + } + + /** + * Get contribution + * + * @return \Civi\Contribute\Contribution + */ + public function getContribution() { + return $this->contribution; + } + + /** + * Set scheduledAmount + * + * @param float $scheduledAmount + * @return PledgePayment + */ + public function setScheduledAmount($scheduledAmount) { + $this->scheduledAmount = $scheduledAmount; + return $this; + } + + /** + * Get scheduledAmount + * + * @return float + */ + public function getScheduledAmount() { + return $this->scheduledAmount; + } + + /** + * Set actualAmount + * + * @param float $actualAmount + * @return PledgePayment + */ + public function setActualAmount($actualAmount) { + $this->actualAmount = $actualAmount; + return $this; + } + + /** + * Get actualAmount + * + * @return float + */ + public function getActualAmount() { + return $this->actualAmount; + } + + /** + * Set currency + * + * @param string $currency + * @return PledgePayment + */ + public function setCurrency($currency) { + $this->currency = $currency; + return $this; + } + + /** + * Get currency + * + * @return string + */ + public function getCurrency() { + return $this->currency; + } + + /** + * Set scheduledDate + * + * @param datetime $scheduledDate + * @return PledgePayment + */ + public function setScheduledDate($scheduledDate) { + $this->scheduledDate = $scheduledDate; + return $this; + } + + /** + * Get scheduledDate + * + * @return datetime + */ + public function getScheduledDate() { + return $this->scheduledDate; + } + + /** + * Set reminderDate + * + * @param datetime $reminderDate + * @return PledgePayment + */ + public function setReminderDate($reminderDate) { + $this->reminderDate = $reminderDate; + return $this; + } + + /** + * Get reminderDate + * + * @return datetime + */ + public function getReminderDate() { + return $this->reminderDate; + } + + /** + * Set reminderCount + * + * @param integer $reminderCount + * @return PledgePayment + */ + public function setReminderCount($reminderCount) { + $this->reminderCount = $reminderCount; + return $this; + } + + /** + * Get reminderCount + * + * @return integer + */ + public function getReminderCount() { + return $this->reminderCount; + } + + /** + * Set statusId + * + * @param integer $statusId + * @return PledgePayment + */ + public function setStatusId($statusId) { + $this->statusId = $statusId; + return $this; + } + + /** + * Get statusId + * + * @return integer + */ + public function getStatusId() { + return $this->statusId; + } + +} + diff --git a/Civi/Price/LineItem.php b/Civi/Price/LineItem.php new file mode 100644 index 0000000000..a14a0d7cb4 --- /dev/null +++ b/Civi/Price/LineItem.php @@ -0,0 +1,376 @@ +id; + } + + /** + * Set entityTable + * + * @param string $entityTable + * @return LineItem + */ + public function setEntityTable($entityTable) { + $this->entityTable = $entityTable; + return $this; + } + + /** + * Get entityTable + * + * @return string + */ + public function getEntityTable() { + return $this->entityTable; + } + + /** + * Set entityId + * + * @param integer $entityId + * @return LineItem + */ + public function setEntityId($entityId) { + $this->entityId = $entityId; + return $this; + } + + /** + * Get entityId + * + * @return integer + */ + public function getEntityId() { + return $this->entityId; + } + + /** + * Set priceField + * + * @param \Civi\Price\PriceField $priceField + * @return LineItem + */ + public function setPriceField(\Civi\Price\PriceField $priceField = null) { + $this->priceField = $priceField; + return $this; + } + + /** + * Get priceField + * + * @return \Civi\Price\PriceField + */ + public function getPriceField() { + return $this->priceField; + } + + /** + * Set label + * + * @param string $label + * @return LineItem + */ + public function setLabel($label) { + $this->label = $label; + return $this; + } + + /** + * Get label + * + * @return string + */ + public function getLabel() { + return $this->label; + } + + /** + * Set qty + * + * @param integer $qty + * @return LineItem + */ + public function setQty($qty) { + $this->qty = $qty; + return $this; + } + + /** + * Get qty + * + * @return integer + */ + public function getQty() { + return $this->qty; + } + + /** + * Set unitPrice + * + * @param float $unitPrice + * @return LineItem + */ + public function setUnitPrice($unitPrice) { + $this->unitPrice = $unitPrice; + return $this; + } + + /** + * Get unitPrice + * + * @return float + */ + public function getUnitPrice() { + return $this->unitPrice; + } + + /** + * Set lineTotal + * + * @param float $lineTotal + * @return LineItem + */ + public function setLineTotal($lineTotal) { + $this->lineTotal = $lineTotal; + return $this; + } + + /** + * Get lineTotal + * + * @return float + */ + public function getLineTotal() { + return $this->lineTotal; + } + + /** + * Set participantCount + * + * @param integer $participantCount + * @return LineItem + */ + public function setParticipantCount($participantCount) { + $this->participantCount = $participantCount; + return $this; + } + + /** + * Get participantCount + * + * @return integer + */ + public function getParticipantCount() { + return $this->participantCount; + } + + /** + * Set priceFieldValue + * + * @param \Civi\Price\PriceFieldValue $priceFieldValue + * @return LineItem + */ + public function setPriceFieldValue(\Civi\Price\PriceFieldValue $priceFieldValue = null) { + $this->priceFieldValue = $priceFieldValue; + return $this; + } + + /** + * Get priceFieldValue + * + * @return \Civi\Price\PriceFieldValue + */ + public function getPriceFieldValue() { + return $this->priceFieldValue; + } + + /** + * Set financialType + * + * @param \Civi\Financial\FinancialType $financialType + * @return LineItem + */ + public function setFinancialType(\Civi\Financial\FinancialType $financialType = null) { + $this->financialType = $financialType; + return $this; + } + + /** + * Get financialType + * + * @return \Civi\Financial\FinancialType + */ + public function getFinancialType() { + return $this->financialType; + } + + /** + * Set deductibleAmount + * + * @param float $deductibleAmount + * @return LineItem + */ + public function setDeductibleAmount($deductibleAmount) { + $this->deductibleAmount = $deductibleAmount; + return $this; + } + + /** + * Get deductibleAmount + * + * @return float + */ + public function getDeductibleAmount() { + return $this->deductibleAmount; + } + +} + diff --git a/Civi/Price/PriceField.php b/Civi/Price/PriceField.php new file mode 100644 index 0000000000..6a20fbf207 --- /dev/null +++ b/Civi/Price/PriceField.php @@ -0,0 +1,516 @@ +id; + } + + /** + * Set priceSet + * + * @param \Civi\Price\PriceSet $priceSet + * @return PriceField + */ + public function setPriceSet(\Civi\Price\PriceSet $priceSet = null) { + $this->priceSet = $priceSet; + return $this; + } + + /** + * Get priceSet + * + * @return \Civi\Price\PriceSet + */ + public function getPriceSet() { + return $this->priceSet; + } + + /** + * Set name + * + * @param string $name + * @return PriceField + */ + public function setName($name) { + $this->name = $name; + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() { + return $this->name; + } + + /** + * Set label + * + * @param string $label + * @return PriceField + */ + public function setLabel($label) { + $this->label = $label; + return $this; + } + + /** + * Get label + * + * @return string + */ + public function getLabel() { + return $this->label; + } + + /** + * Set htmlType + * + * @param string $htmlType + * @return PriceField + */ + public function setHtmlType($htmlType) { + $this->htmlType = $htmlType; + return $this; + } + + /** + * Get htmlType + * + * @return string + */ + public function getHtmlType() { + return $this->htmlType; + } + + /** + * Set isEnterQty + * + * @param boolean $isEnterQty + * @return PriceField + */ + public function setIsEnterQty($isEnterQty) { + $this->isEnterQty = $isEnterQty; + return $this; + } + + /** + * Get isEnterQty + * + * @return boolean + */ + public function getIsEnterQty() { + return $this->isEnterQty; + } + + /** + * Set helpPre + * + * @param text $helpPre + * @return PriceField + */ + public function setHelpPre($helpPre) { + $this->helpPre = $helpPre; + return $this; + } + + /** + * Get helpPre + * + * @return text + */ + public function getHelpPre() { + return $this->helpPre; + } + + /** + * Set helpPost + * + * @param text $helpPost + * @return PriceField + */ + public function setHelpPost($helpPost) { + $this->helpPost = $helpPost; + return $this; + } + + /** + * Get helpPost + * + * @return text + */ + public function getHelpPost() { + return $this->helpPost; + } + + /** + * Set weight + * + * @param int $weight + * @return PriceField + */ + public function setWeight($weight) { + $this->weight = $weight; + return $this; + } + + /** + * Get weight + * + * @return int + */ + public function getWeight() { + return $this->weight; + } + + /** + * Set isDisplayAmounts + * + * @param boolean $isDisplayAmounts + * @return PriceField + */ + public function setIsDisplayAmounts($isDisplayAmounts) { + $this->isDisplayAmounts = $isDisplayAmounts; + return $this; + } + + /** + * Get isDisplayAmounts + * + * @return boolean + */ + public function getIsDisplayAmounts() { + return $this->isDisplayAmounts; + } + + /** + * Set optionsPerLine + * + * @param integer $optionsPerLine + * @return PriceField + */ + public function setOptionsPerLine($optionsPerLine) { + $this->optionsPerLine = $optionsPerLine; + return $this; + } + + /** + * Get optionsPerLine + * + * @return integer + */ + public function getOptionsPerLine() { + return $this->optionsPerLine; + } + + /** + * Set isActive + * + * @param boolean $isActive + * @return PriceField + */ + public function setIsActive($isActive) { + $this->isActive = $isActive; + return $this; + } + + /** + * Get isActive + * + * @return boolean + */ + public function getIsActive() { + return $this->isActive; + } + + /** + * Set isRequired + * + * @param boolean $isRequired + * @return PriceField + */ + public function setIsRequired($isRequired) { + $this->isRequired = $isRequired; + return $this; + } + + /** + * Get isRequired + * + * @return boolean + */ + public function getIsRequired() { + return $this->isRequired; + } + + /** + * Set activeOn + * + * @param datetime $activeOn + * @return PriceField + */ + public function setActiveOn($activeOn) { + $this->activeOn = $activeOn; + return $this; + } + + /** + * Get activeOn + * + * @return datetime + */ + public function getActiveOn() { + return $this->activeOn; + } + + /** + * Set expireOn + * + * @param datetime $expireOn + * @return PriceField + */ + public function setExpireOn($expireOn) { + $this->expireOn = $expireOn; + return $this; + } + + /** + * Get expireOn + * + * @return datetime + */ + public function getExpireOn() { + return $this->expireOn; + } + + /** + * Set javascript + * + * @param string $javascript + * @return PriceField + */ + public function setJavascript($javascript) { + $this->javascript = $javascript; + return $this; + } + + /** + * Get javascript + * + * @return string + */ + public function getJavascript() { + return $this->javascript; + } + + /** + * Set visibilityId + * + * @param integer $visibilityId + * @return PriceField + */ + public function setVisibilityId($visibilityId) { + $this->visibilityId = $visibilityId; + return $this; + } + + /** + * Get visibilityId + * + * @return integer + */ + public function getVisibilityId() { + return $this->visibilityId; + } + +} + diff --git a/Civi/Price/PriceFieldValue.php b/Civi/Price/PriceFieldValue.php new file mode 100644 index 0000000000..f2a46ea272 --- /dev/null +++ b/Civi/Price/PriceFieldValue.php @@ -0,0 +1,460 @@ +id; + } + + /** + * Set priceField + * + * @param \Civi\Price\PriceField $priceField + * @return PriceFieldValue + */ + public function setPriceField(\Civi\Price\PriceField $priceField = null) { + $this->priceField = $priceField; + return $this; + } + + /** + * Get priceField + * + * @return \Civi\Price\PriceField + */ + public function getPriceField() { + return $this->priceField; + } + + /** + * Set name + * + * @param string $name + * @return PriceFieldValue + */ + public function setName($name) { + $this->name = $name; + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() { + return $this->name; + } + + /** + * Set label + * + * @param string $label + * @return PriceFieldValue + */ + public function setLabel($label) { + $this->label = $label; + return $this; + } + + /** + * Get label + * + * @return string + */ + public function getLabel() { + return $this->label; + } + + /** + * Set description + * + * @param text $description + * @return PriceFieldValue + */ + public function setDescription($description) { + $this->description = $description; + return $this; + } + + /** + * Get description + * + * @return text + */ + public function getDescription() { + return $this->description; + } + + /** + * Set amount + * + * @param string $amount + * @return PriceFieldValue + */ + public function setAmount($amount) { + $this->amount = $amount; + return $this; + } + + /** + * Get amount + * + * @return string + */ + public function getAmount() { + return $this->amount; + } + + /** + * Set count + * + * @param integer $count + * @return PriceFieldValue + */ + public function setCount($count) { + $this->count = $count; + return $this; + } + + /** + * Get count + * + * @return integer + */ + public function getCount() { + return $this->count; + } + + /** + * Set maxValue + * + * @param integer $maxValue + * @return PriceFieldValue + */ + public function setMaxValue($maxValue) { + $this->maxValue = $maxValue; + return $this; + } + + /** + * Get maxValue + * + * @return integer + */ + public function getMaxValue() { + return $this->maxValue; + } + + /** + * Set weight + * + * @param int $weight + * @return PriceFieldValue + */ + public function setWeight($weight) { + $this->weight = $weight; + return $this; + } + + /** + * Get weight + * + * @return int + */ + public function getWeight() { + return $this->weight; + } + + /** + * Set membershipType + * + * @param \Civi\Member\MembershipType $membershipType + * @return PriceFieldValue + */ + public function setMembershipType(\Civi\Member\MembershipType $membershipType = null) { + $this->membershipType = $membershipType; + return $this; + } + + /** + * Get membershipType + * + * @return \Civi\Member\MembershipType + */ + public function getMembershipType() { + return $this->membershipType; + } + + /** + * Set membershipNumTerms + * + * @param integer $membershipNumTerms + * @return PriceFieldValue + */ + public function setMembershipNumTerms($membershipNumTerms) { + $this->membershipNumTerms = $membershipNumTerms; + return $this; + } + + /** + * Get membershipNumTerms + * + * @return integer + */ + public function getMembershipNumTerms() { + return $this->membershipNumTerms; + } + + /** + * Set isDefault + * + * @param boolean $isDefault + * @return PriceFieldValue + */ + public function setIsDefault($isDefault) { + $this->isDefault = $isDefault; + return $this; + } + + /** + * Get isDefault + * + * @return boolean + */ + public function getIsDefault() { + return $this->isDefault; + } + + /** + * Set isActive + * + * @param boolean $isActive + * @return PriceFieldValue + */ + public function setIsActive($isActive) { + $this->isActive = $isActive; + return $this; + } + + /** + * Get isActive + * + * @return boolean + */ + public function getIsActive() { + return $this->isActive; + } + + /** + * Set financialType + * + * @param \Civi\Financial\FinancialType $financialType + * @return PriceFieldValue + */ + public function setFinancialType(\Civi\Financial\FinancialType $financialType = null) { + $this->financialType = $financialType; + return $this; + } + + /** + * Get financialType + * + * @return \Civi\Financial\FinancialType + */ + public function getFinancialType() { + return $this->financialType; + } + + /** + * Set deductibleAmount + * + * @param float $deductibleAmount + * @return PriceFieldValue + */ + public function setDeductibleAmount($deductibleAmount) { + $this->deductibleAmount = $deductibleAmount; + return $this; + } + + /** + * Get deductibleAmount + * + * @return float + */ + public function getDeductibleAmount() { + return $this->deductibleAmount; + } + +} + diff --git a/Civi/Price/PriceSet.php b/Civi/Price/PriceSet.php new file mode 100644 index 0000000000..49b1262023 --- /dev/null +++ b/Civi/Price/PriceSet.php @@ -0,0 +1,376 @@ +id; + } + + /** + * Set domain + * + * @param \Civi\Core\Domain $domain + * @return PriceSet + */ + public function setDomain(\Civi\Core\Domain $domain = null) { + $this->domain = $domain; + return $this; + } + + /** + * Get domain + * + * @return \Civi\Core\Domain + */ + public function getDomain() { + return $this->domain; + } + + /** + * Set name + * + * @param string $name + * @return PriceSet + */ + public function setName($name) { + $this->name = $name; + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() { + return $this->name; + } + + /** + * Set title + * + * @param string $title + * @return PriceSet + */ + public function setTitle($title) { + $this->title = $title; + return $this; + } + + /** + * Get title + * + * @return string + */ + public function getTitle() { + return $this->title; + } + + /** + * Set isActive + * + * @param boolean $isActive + * @return PriceSet + */ + public function setIsActive($isActive) { + $this->isActive = $isActive; + return $this; + } + + /** + * Get isActive + * + * @return boolean + */ + public function getIsActive() { + return $this->isActive; + } + + /** + * Set helpPre + * + * @param text $helpPre + * @return PriceSet + */ + public function setHelpPre($helpPre) { + $this->helpPre = $helpPre; + return $this; + } + + /** + * Get helpPre + * + * @return text + */ + public function getHelpPre() { + return $this->helpPre; + } + + /** + * Set helpPost + * + * @param text $helpPost + * @return PriceSet + */ + public function setHelpPost($helpPost) { + $this->helpPost = $helpPost; + return $this; + } + + /** + * Get helpPost + * + * @return text + */ + public function getHelpPost() { + return $this->helpPost; + } + + /** + * Set javascript + * + * @param string $javascript + * @return PriceSet + */ + public function setJavascript($javascript) { + $this->javascript = $javascript; + return $this; + } + + /** + * Get javascript + * + * @return string + */ + public function getJavascript() { + return $this->javascript; + } + + /** + * Set extends + * + * @param string $extends + * @return PriceSet + */ + public function setExtends($extends) { + $this->extends = $extends; + return $this; + } + + /** + * Get extends + * + * @return string + */ + public function getExtends() { + return $this->extends; + } + + /** + * Set financialType + * + * @param \Civi\Financial\FinancialType $financialType + * @return PriceSet + */ + public function setFinancialType(\Civi\Financial\FinancialType $financialType = null) { + $this->financialType = $financialType; + return $this; + } + + /** + * Get financialType + * + * @return \Civi\Financial\FinancialType + */ + public function getFinancialType() { + return $this->financialType; + } + + /** + * Set isQuickConfig + * + * @param boolean $isQuickConfig + * @return PriceSet + */ + public function setIsQuickConfig($isQuickConfig) { + $this->isQuickConfig = $isQuickConfig; + return $this; + } + + /** + * Get isQuickConfig + * + * @return boolean + */ + public function getIsQuickConfig() { + return $this->isQuickConfig; + } + + /** + * Set isReserved + * + * @param boolean $isReserved + * @return PriceSet + */ + public function setIsReserved($isReserved) { + $this->isReserved = $isReserved; + return $this; + } + + /** + * Get isReserved + * + * @return boolean + */ + public function getIsReserved() { + return $this->isReserved; + } + +} + diff --git a/Civi/Price/PriceSetEntity.php b/Civi/Price/PriceSetEntity.php new file mode 100644 index 0000000000..a5427c525b --- /dev/null +++ b/Civi/Price/PriceSetEntity.php @@ -0,0 +1,152 @@ +id; + } + + /** + * Set entityTable + * + * @param string $entityTable + * @return PriceSetEntity + */ + public function setEntityTable($entityTable) { + $this->entityTable = $entityTable; + return $this; + } + + /** + * Get entityTable + * + * @return string + */ + public function getEntityTable() { + return $this->entityTable; + } + + /** + * Set entityId + * + * @param integer $entityId + * @return PriceSetEntity + */ + public function setEntityId($entityId) { + $this->entityId = $entityId; + return $this; + } + + /** + * Get entityId + * + * @return integer + */ + public function getEntityId() { + return $this->entityId; + } + + /** + * Set priceSet + * + * @param \Civi\Price\PriceSet $priceSet + * @return PriceSetEntity + */ + public function setPriceSet(\Civi\Price\PriceSet $priceSet = null) { + $this->priceSet = $priceSet; + return $this; + } + + /** + * Get priceSet + * + * @return \Civi\Price\PriceSet + */ + public function getPriceSet() { + return $this->priceSet; + } + +} + diff --git a/Civi/Queue/QueueItem.php b/Civi/Queue/QueueItem.php new file mode 100644 index 0000000000..0be5391a4c --- /dev/null +++ b/Civi/Queue/QueueItem.php @@ -0,0 +1,208 @@ +id; + } + + /** + * Set queueName + * + * @param string $queueName + * @return QueueItem + */ + public function setQueueName($queueName) { + $this->queueName = $queueName; + return $this; + } + + /** + * Get queueName + * + * @return string + */ + public function getQueueName() { + return $this->queueName; + } + + /** + * Set weight + * + * @param int $weight + * @return QueueItem + */ + public function setWeight($weight) { + $this->weight = $weight; + return $this; + } + + /** + * Get weight + * + * @return int + */ + public function getWeight() { + return $this->weight; + } + + /** + * Set submitTime + * + * @param datetime $submitTime + * @return QueueItem + */ + public function setSubmitTime($submitTime) { + $this->submitTime = $submitTime; + return $this; + } + + /** + * Get submitTime + * + * @return datetime + */ + public function getSubmitTime() { + return $this->submitTime; + } + + /** + * Set releaseTime + * + * @param datetime $releaseTime + * @return QueueItem + */ + public function setReleaseTime($releaseTime) { + $this->releaseTime = $releaseTime; + return $this; + } + + /** + * Get releaseTime + * + * @return datetime + */ + public function getReleaseTime() { + return $this->releaseTime; + } + + /** + * Set data + * + * @param text $data + * @return QueueItem + */ + public function setData($data) { + $this->data = $data; + return $this; + } + + /** + * Get data + * + * @return text + */ + public function getData() { + return $this->data; + } + +} + diff --git a/Civi/Report/ReportInstance.php b/Civi/Report/ReportInstance.php new file mode 100644 index 0000000000..c3c1a368b9 --- /dev/null +++ b/Civi/Report/ReportInstance.php @@ -0,0 +1,572 @@ +id; + } + + /** + * Set domain + * + * @param \Civi\Core\Domain $domain + * @return ReportInstance + */ + public function setDomain(\Civi\Core\Domain $domain = null) { + $this->domain = $domain; + return $this; + } + + /** + * Get domain + * + * @return \Civi\Core\Domain + */ + public function getDomain() { + return $this->domain; + } + + /** + * Set title + * + * @param string $title + * @return ReportInstance + */ + public function setTitle($title) { + $this->title = $title; + return $this; + } + + /** + * Get title + * + * @return string + */ + public function getTitle() { + return $this->title; + } + + /** + * Set reportId + * + * @param string $reportId + * @return ReportInstance + */ + public function setReportId($reportId) { + $this->reportId = $reportId; + return $this; + } + + /** + * Get reportId + * + * @return string + */ + public function getReportId() { + return $this->reportId; + } + + /** + * Set name + * + * @param string $name + * @return ReportInstance + */ + public function setName($name) { + $this->name = $name; + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() { + return $this->name; + } + + /** + * Set args + * + * @param string $args + * @return ReportInstance + */ + public function setArgs($args) { + $this->args = $args; + return $this; + } + + /** + * Get args + * + * @return string + */ + public function getArgs() { + return $this->args; + } + + /** + * Set description + * + * @param string $description + * @return ReportInstance + */ + public function setDescription($description) { + $this->description = $description; + return $this; + } + + /** + * Get description + * + * @return string + */ + public function getDescription() { + return $this->description; + } + + /** + * Set permission + * + * @param string $permission + * @return ReportInstance + */ + public function setPermission($permission) { + $this->permission = $permission; + return $this; + } + + /** + * Get permission + * + * @return string + */ + public function getPermission() { + return $this->permission; + } + + /** + * Set grouprole + * + * @param string $grouprole + * @return ReportInstance + */ + public function setGrouprole($grouprole) { + $this->grouprole = $grouprole; + return $this; + } + + /** + * Get grouprole + * + * @return string + */ + public function getGrouprole() { + return $this->grouprole; + } + + /** + * Set formValues + * + * @param text $formValues + * @return ReportInstance + */ + public function setFormValues($formValues) { + $this->formValues = $formValues; + return $this; + } + + /** + * Get formValues + * + * @return text + */ + public function getFormValues() { + return $this->formValues; + } + + /** + * Set isActive + * + * @param boolean $isActive + * @return ReportInstance + */ + public function setIsActive($isActive) { + $this->isActive = $isActive; + return $this; + } + + /** + * Get isActive + * + * @return boolean + */ + public function getIsActive() { + return $this->isActive; + } + + /** + * Set emailSubject + * + * @param string $emailSubject + * @return ReportInstance + */ + public function setEmailSubject($emailSubject) { + $this->emailSubject = $emailSubject; + return $this; + } + + /** + * Get emailSubject + * + * @return string + */ + public function getEmailSubject() { + return $this->emailSubject; + } + + /** + * Set emailTo + * + * @param text $emailTo + * @return ReportInstance + */ + public function setEmailTo($emailTo) { + $this->emailTo = $emailTo; + return $this; + } + + /** + * Get emailTo + * + * @return text + */ + public function getEmailTo() { + return $this->emailTo; + } + + /** + * Set emailCc + * + * @param text $emailCc + * @return ReportInstance + */ + public function setEmailCc($emailCc) { + $this->emailCc = $emailCc; + return $this; + } + + /** + * Get emailCc + * + * @return text + */ + public function getEmailCc() { + return $this->emailCc; + } + + /** + * Set header + * + * @param text $header + * @return ReportInstance + */ + public function setHeader($header) { + $this->header = $header; + return $this; + } + + /** + * Get header + * + * @return text + */ + public function getHeader() { + return $this->header; + } + + /** + * Set footer + * + * @param text $footer + * @return ReportInstance + */ + public function setFooter($footer) { + $this->footer = $footer; + return $this; + } + + /** + * Get footer + * + * @return text + */ + public function getFooter() { + return $this->footer; + } + + /** + * Set navigation + * + * @param \Civi\Core\Navigation $navigation + * @return ReportInstance + */ + public function setNavigation(\Civi\Core\Navigation $navigation = null) { + $this->navigation = $navigation; + return $this; + } + + /** + * Get navigation + * + * @return \Civi\Core\Navigation + */ + public function getNavigation() { + return $this->navigation; + } + + /** + * Set drilldown + * + * @param \Civi\Report\ReportInstance $drilldown + * @return ReportInstance + */ + public function setDrilldown(\Civi\Report\ReportInstance $drilldown = null) { + $this->drilldown = $drilldown; + return $this; + } + + /** + * Get drilldown + * + * @return \Civi\Report\ReportInstance + */ + public function getDrilldown() { + return $this->drilldown; + } + + /** + * Set isReserved + * + * @param boolean $isReserved + * @return ReportInstance + */ + public function setIsReserved($isReserved) { + $this->isReserved = $isReserved; + return $this; + } + + /** + * Get isReserved + * + * @return boolean + */ + public function getIsReserved() { + return $this->isReserved; + } + +} + diff --git a/Civi/SMS/Provider.php b/Civi/SMS/Provider.php new file mode 100644 index 0000000000..2d796b6805 --- /dev/null +++ b/Civi/SMS/Provider.php @@ -0,0 +1,320 @@ +id; + } + + /** + * Set name + * + * @param string $name + * @return Provider + */ + public function setName($name) { + $this->name = $name; + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() { + return $this->name; + } + + /** + * Set title + * + * @param string $title + * @return Provider + */ + public function setTitle($title) { + $this->title = $title; + return $this; + } + + /** + * Get title + * + * @return string + */ + public function getTitle() { + return $this->title; + } + + /** + * Set username + * + * @param string $username + * @return Provider + */ + public function setUsername($username) { + $this->username = $username; + return $this; + } + + /** + * Get username + * + * @return string + */ + public function getUsername() { + return $this->username; + } + + /** + * Set password + * + * @param string $password + * @return Provider + */ + public function setPassword($password) { + $this->password = $password; + return $this; + } + + /** + * Get password + * + * @return string + */ + public function getPassword() { + return $this->password; + } + + /** + * Set apiType + * + * @param integer $apiType + * @return Provider + */ + public function setApiType($apiType) { + $this->apiType = $apiType; + return $this; + } + + /** + * Get apiType + * + * @return integer + */ + public function getApiType() { + return $this->apiType; + } + + /** + * Set apiUrl + * + * @param string $apiUrl + * @return Provider + */ + public function setApiUrl($apiUrl) { + $this->apiUrl = $apiUrl; + return $this; + } + + /** + * Get apiUrl + * + * @return string + */ + public function getApiUrl() { + return $this->apiUrl; + } + + /** + * Set apiParams + * + * @param text $apiParams + * @return Provider + */ + public function setApiParams($apiParams) { + $this->apiParams = $apiParams; + return $this; + } + + /** + * Get apiParams + * + * @return text + */ + public function getApiParams() { + return $this->apiParams; + } + + /** + * Set isDefault + * + * @param boolean $isDefault + * @return Provider + */ + public function setIsDefault($isDefault) { + $this->isDefault = $isDefault; + return $this; + } + + /** + * Get isDefault + * + * @return boolean + */ + public function getIsDefault() { + return $this->isDefault; + } + + /** + * Set isActive + * + * @param boolean $isActive + * @return Provider + */ + public function setIsActive($isActive) { + $this->isActive = $isActive; + return $this; + } + + /** + * Get isActive + * + * @return boolean + */ + public function getIsActive() { + return $this->isActive; + } + +} + -- 2.25.1