getLoyaltyInquiryEndPointUrl() публичный Метод

public getLoyaltyInquiryEndPointUrl ( ) : string
Результат string
Пример #1
0
 public function testSetLoyaltyInquiryEndPointUrl()
 {
     $this->configuration->setLoyaltyInquiryEndPointUrl('TestLoyaltyInquiryEndPointUrlSetter');
     $this->assertEquals('TestLoyaltyInquiryEndPointUrlSetter', $this->configuration->getLoyaltyInquiryEndPointUrl());
 }
Пример #2
0
 /**
  * @param LoyaltyInquiryRequest $request
  * @return Response\LoyaltyInquiryResponse
  */
 public function makeLoyaltyInquiry(LoyaltyInquiryRequest $request)
 {
     $rawResponse = $this->sendRequest($request, $this->configuration->getLoyaltyInquiryEndPointUrl());
     $parser = new ResponseParser(new LoyaltyInquiryResponseParser(), $rawResponse);
     return $parser->parse();
 }