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; } } blog – Page 22 – 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

blog

Home » Archive by Category "blog" (Page 22)
14 Oct
blog

sp5der 555 Hoodies for Couples Matching Outfits for Superhero Lovers

  • October 15, 2023
  • By author-avatar Oussama Terrab
  • 0 comments
Nothing is better than expressing your love for superheroes with matching hoodies! Spider 555 Hoodies for Couples offers comfortable an...

Continue reading

06 Oct
blog

Find A Whore – legendary guide and find a hooker near you

  • October 7, 2023
  • By author-avatar Oussama Terrab
  • 0 comments
It can be illegal to purchase or get solutions from a prostitute in the majority of countries. Additionally, participating in these act...

Continue reading

05 Oct
blog

Huge Win Monthly

  • September 29, 2023
  • By author-avatar Oussama Terrab
  • 0 comments
Huge Win Monthly Do you need for the once-in-a-lifestyle capability to gain a 1000000 NZD monthly? Consider SpinBit On line casino in ...

Continue reading

01 Oct
blog

Hookup With Singles Near Me Instant Hook ups

  • October 1, 2023
  • By author-avatar Oussama Terrab
  • 0 comments
There are numerous reasons why a man wants to have sex with a hookup lady, but the most popular is that he does not want to marry h...

Continue reading

16 Sep
blog

Backpage Hookup . Hook up Now!

  • September 16, 2023
  • By author-avatar Oussama Terrab
  • 0 comments
Free Online Dating has arrived to be. People across the country are finding the thrill of Online Dating and meeting new men and women d...

Continue reading

10 Sep
blog

Where can I buy 4ft KAWS figures

  • September 11, 2023
  • By author-avatar Oussama Terrab
  • 0 comments
You can buy 4ft KAWS figures from various sources, both online and in physical stores. Here are a few options:1. Official KAWS website:...

Continue reading

08 Sep
blog

Cheap Ann Arbor Escorts Escorts near me in Ann Arbor

  • September 8, 2023
  • By author-avatar Oussama Terrab
  • 0 comments
We might not recommend in search of low-cost hookers near you. Despite the risks, there are still people who partake in these activitie...

Continue reading

25 Aug
blog

Pendekatan Perdagangan Mata Uang Standar untuk Pemula Indonesia

  • August 25, 2023
  • By author-avatar Oussama Terrab
  • 0 comments
Pendekatan Perdagangan Mata Uang Standar untuk Pemula Indonesia Perdagangan mata uang asing forex mungkin masing -masing menarik dan b...

Continue reading

20 Aug
blog

How Guide On How To Win At Your Favourite Casino Games can Save You Time, Stress, and Money.

  • August 20, 2023
  • By author-avatar Oussama Terrab
  • 0 comments
How Guide On How To Win At Your Favourite Casino Games can Save You Time, Stress, and Money. Table of ContentsGetting My Beginners Gui...

Continue reading

22 Jun
blog

Body of second worker recovered from rubble of building collapse in London, Ont.

  • June 23, 2023
  • By author-avatar Becca Distefano
  • 0 comments
Become a Certified Personal Trainer : Fitness Trainer Certification The movement patterns were very strange, and there seems to be ...

Continue reading

  • «
  • ‹
  • 20
  • 21
  • 22
  • 23
  • ›
[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.