code: public function setQuarter($quarter)
      {
          if(!$quarter) {
              return $this;
          }
          if (!($quarter instanceof Quarter)) {
              $quarter = new Quarter($quarter);
          }
          if ($quarter->isEmpty()) {
              $this->invalidArguments('10005');
          }
          return $this->setParameter('quarter', $quarter);
      }
docs: Set the address quarter
  @param Quarter|array $quarter
  @return $this
  @throws InvalidArgumentException