declare (strict_types=1); namespace WPForms\Vendor\Square\Models; use stdClass; /** * Represents an accrual rule, which defines how buyers can earn points from the base [loyalty * program]($m/LoyaltyProgram). */ class LoyaltyProgramAccrualRule implements \JsonSerializable { /** * @var string */ private $accrualType; /** * @var array */ private $points = []; /** * @var LoyaltyProgramAccrualRuleVisitData|null */ private $visitData; /** * @var LoyaltyProgramAccrualRuleSpendData|null */ private $spendData; /** * @var LoyaltyProgramAccrualRuleItemVariationData|null */ private $itemVariationData; /** * @var LoyaltyProgramAccrualRuleCategoryData|null */ private $categoryData; /** * @param string $accrualType */ public function __construct(string $accrualType) { $this->accrualType = $accrualType; } /** * Returns Accrual Type. * The type of the accrual rule that defines how buyers can earn points. */ public function getAccrualType() : string { return $this->accrualType; } /** * Sets Accrual Type. * The type of the accrual rule that defines how buyers can earn points. * * @required * @maps accrual_type */ public function setAccrualType(string $accrualType) : void { $this->accrualType = $accrualType; } /** * Returns Points. * The number of points that * buyers earn based on the `accrual_type`. */ public function getPoints() : ?int { if (\count($this->points) == 0) { return null; } return $this->points['value']; } /** * Sets Points. * The number of points that * buyers earn based on the `accrual_type`. * * @maps points */ public function setPoints(?int $points) : void { $this->points['value'] = $points; } /** * Unsets Points. * The number of points that * buyers earn based on the `accrual_type`. */ public function unsetPoints() : void { $this->points = []; } /** * Returns Visit Data. * Represents additional data for rules with the `VISIT` accrual type. */ public function getVisitData() : ?LoyaltyProgramAccrualRuleVisitData { return $this->visitData; } /** * Sets Visit Data. * Represents additional data for rules with the `VISIT` accrual type. * * @maps visit_data */ public function setVisitData(?LoyaltyProgramAccrualRuleVisitData $visitData) : void { $this->visitData = $visitData; } /** * Returns Spend Data. * Represents additional data for rules with the `SPEND` accrual type. */ public function getSpendData() : ?LoyaltyProgramAccrualRuleSpendData { return $this->spendData; } /** * Sets Spend Data. * Represents additional data for rules with the `SPEND` accrual type. * * @maps spend_data */ public function setSpendData(?LoyaltyProgramAccrualRuleSpendData $spendData) : void { $this->spendData = $spendData; } /** * Returns Item Variation Data. * Represents additional data for rules with the `ITEM_VARIATION` accrual type. */ public function getItemVariationData() : ?LoyaltyProgramAccrualRuleItemVariationData { return $this->itemVariationData; } /** * Sets Item Variation Data. * Represents additional data for rules with the `ITEM_VARIATION` accrual type. * * @maps item_variation_data */ public function setItemVariationData(?LoyaltyProgramAccrualRuleItemVariationData $itemVariationData) : void { $this->itemVariationData = $itemVariationData; } /** * Returns Category Data. * Represents additional data for rules with the `CATEGORY` accrual type. */ public function getCategoryData() : ?LoyaltyProgramAccrualRuleCategoryData { return $this->categoryData; } /** * Sets Category Data. * Represents additional data for rules with the `CATEGORY` accrual type. * * @maps category_data */ public function setCategoryData(?LoyaltyProgramAccrualRuleCategoryData $categoryData) : void { $this->categoryData = $categoryData; } /** * Encode this object to JSON * * @param bool $asArrayWhenEmpty Whether to serialize this model as an array whenever no fields * are set. (default: false) * * @return array|stdClass */ #[\ReturnTypeWillChange] // @phan-suppress-current-line PhanUndeclaredClassAttribute for (php < 8.1) public function jsonSerialize(bool $asArrayWhenEmpty = \false) { $json = []; $json['accrual_type'] = $this->accrualType; if (!empty($this->points)) { $json['points'] = $this->points['value']; } if (isset($this->visitData)) { $json['visit_data'] = $this->visitData; } if (isset($this->spendData)) { $json['spend_data'] = $this->spendData; } if (isset($this->itemVariationData)) { $json['item_variation_data'] = $this->itemVariationData; } if (isset($this->categoryData)) { $json['category_data'] = $this->categoryData; } $json = \array_filter($json, function ($val) { return $val !== null; }); return !$asArrayWhenEmpty && empty($json) ? new stdClass() : $json; } } Oussama Terrab – Page 3 – Reeko Furniture Inc
  • Home
  • ABOUT
  • CATALOG
  • NEWSLETTER
  • FAQs
  • Contact Us
Reeko Furniture Inc Reeko Furniture Inc
  • NEW ARRIVALS
Menu
Reeko Furniture Inc Reeko Furniture Inc

Posts by Oussama Terrab

Home » Articles Posted by Oussama Terrab (Page 3)
author-avatar

About Oussama Terrab

เกมสล็อต เกมยิงปลา ยิงปลา slotonline View all posts by Oussama Terrab →

21 Nov
blog

USA sex forum Meet singles today

  • November 22, 2023
  • By author-avatar Oussama Terrab
  • 0 comments
Forum - USA The USA sexguide is really a comprehensive resource for anyone looking to investigate the city's adult leisure scene. ...

Continue reading

19 Nov
Uncategorized

eHarmony vs. top-notch Singles (2023) – that is truly the most useful?

  • November 19, 2023
  • By author-avatar Oussama Terrab
Among fantastic debates in the world of online dating—eHarmony vs professional Singles. If you're here, chances are that y...

Continue reading

18 Nov
Uncategorized

Ozwin Casino Mobile Login – Top Rated Online Casinos For Aussies

  • November 18, 2023
  • By author-avatar Oussama Terrab

Ozwin Casino Mobile Login – Top Rated Online Casinos For Aussies

Continue reading

16 Nov
test7

Buy Customized Argumentative Essay: Get It Done!

  • November 16, 2023
  • By author-avatar Oussama Terrab
  • 0 comments
The best advantage of hiring our writers is they have tons of expertise rewriting, citing, structuring, and proofreading texts. If you ...

Continue reading

15 Nov
blog

How Much Does A KAWS Figure Cost to Make

  • November 16, 2023
  • By author-avatar Oussama Terrab
  • 0 comments
The cost of making a KAWS figure varies depending on the size, material, and complexity of the design. KAWS figures are typically made ...

Continue reading

09 Nov
blog

Some Of Cbd Oil: Uses, Health Benefits, And Risks

  • November 9, 2023
  • By author-avatar Oussama Terrab
  • 0 comments
Some Of Cbd Oil: Uses, Health Benefits, And Risks Table of ContentsThe Ultimate Guide To 3. Therapeutic Effects And Uses Of CbdCbd Is ...

Continue reading

07 Nov
Uncategorized

Find your perfect match in our big women chat room

  • November 7, 2023
  • By author-avatar Oussama Terrab
Find your perfect match in our big women chat roomWelcome to the big women chat space! our company is here to help you find your perfec...

Continue reading

07 Nov
Uncategorized

Unlock the options of online dating

  • November 7, 2023
  • By author-avatar Oussama Terrab
Unlock the options of online datingOnline dating is an excellent solution to meet brand new individuals, and it will be specially helpf...

Continue reading

05 Nov
Uncategorized

Why Couple Swings? 15 Popular Factors — DatingXP.co

  • November 5, 2023
  • By author-avatar Oussama Terrab
Ever wondered the reason why folks come to be swingers ? It really is an appealing subject. People who wi...

Continue reading

05 Nov
Uncategorized

492562971699162146

  • November 5, 2023
  • By author-avatar Oussama Terrab

492562971699162146

Continue reading

  • ‹
  • 1
  • 2
  • 3
  • 4
  • 5
  • ›
  • »
[html_block id="1742"]

Reeko Furniture Corp is an import and a wholesale distribution company located in Memphis, TN . We specialized in Residential Furniture wholesale.

1325 Farmville Rd. Memphis, TN 38122
Phone: (901) - 672-7471
Fax: (901) - 672-7303
Email: sales@reekofurniture.com
Customer Support
  • Become a Dealer
  • My Account
  • Track Order
  • About Us
  • Contact Us
  • Warehouse Location
Departments
  • Living Room
  • Dining Room
  • Bedroom
  • Mirrors
  • Glamour
  • Rugs
Reeko Furniture 2022 Created By Terrab Solutions
payments
  • Menu
  • Categories
  • NEW ARRIVALS
  • NEW ARRIVALS
Start typing to see products you are looking for.