Overview

Namespaces

  • Affilinet
    • ProductData
      • Exceptions
      • HttpClient
      • Requests
        • Helper
        • Traits
      • Responses
        • ResponseElements

Classes

  • Category
  • Facet
  • FacetValue
  • Image
  • Price
  • Product
  • Shop
  • ShopProperty

Interfaces

  • CategoryInterface
  • FacetInterface
  • FacetValueInterface
  • ImageInterface
  • PriceInterface
  • ProductInterface
  • ShopInterface
  • ShopPropertyInterface
  • Overview
  • Namespace
  • Class

Class Price

Affilinet\ProductData\Responses\ResponseElements\Price implements Affilinet\ProductData\Responses\ResponseElements\PriceInterface
Namespace: Affilinet\ProductData\Responses\ResponseElements
Located at Affilinet/ProductData/Responses/ResponseElements/Price.php
Methods summary
public
# __construct( array $priceArray )
public string
# getCurrency( )

Three characters indicating the currency for the product price. Currently, this can be either EUR or GBP.

Three characters indicating the currency for the product price. Currently, this can be either EUR or GBP.

Returns

string

Implementation of

Affilinet\ProductData\Responses\ResponseElements\PriceInterface::getCurrency()
public string
# getDisplayPrice( )

This is the ready-to-use string to display the price. E.g. “For a limited time only 15.99 GBP plus shipping”.

This is the ready-to-use string to display the price. E.g. “For a limited time only 15.99 GBP plus shipping”.

Returns

string

Implementation of

Affilinet\ProductData\Responses\ResponseElements\PriceInterface::getDisplayPrice()
public string|null
# getDisplayShipping( )

This is the ready-to-use string to display the shipping cost of this item. E.g. “Only 6.99 GBP except for overseas shipping”.

This is the ready-to-use string to display the shipping cost of this item. E.g. “Only 6.99 GBP except for overseas shipping”.

Returns

string|null

Implementation of

Affilinet\ProductData\Responses\ResponseElements\PriceInterface::getDisplayShipping()
public string|null
# getDisplayBasePrice( )

This is the ready-to-use string to display the price of this product calculated on a base measure. E.g. “27.98 GBP per kg”.

This is the ready-to-use string to display the price of this product calculated on a base measure. E.g. “27.98 GBP per kg”.

Returns

string|null

Implementation of

Affilinet\ProductData\Responses\ResponseElements\PriceInterface::getDisplayBasePrice()
public float
# getPriceOld( )

Former price of this product, as specified by the advertiser.

Former price of this product, as specified by the advertiser.

Returns

float

Implementation of

Affilinet\ProductData\Responses\ResponseElements\PriceInterface::getPriceOld()
public string
# getPricePrefix( )

A string to be displayed before the actual price figure (e.g. “From”).

A string to be displayed before the actual price figure (e.g. “From”).

Returns

string

Implementation of

Affilinet\ProductData\Responses\ResponseElements\PriceInterface::getPricePrefix()
public float
# getPrice( )

Returns

float

Implementation of

Affilinet\ProductData\Responses\ResponseElements\PriceInterface::getPrice()
public string
# getPriceSuffix( )

Returns

string

Implementation of

Affilinet\ProductData\Responses\ResponseElements\PriceInterface::getPriceSuffix()
public string
# getShippingPricePrefix( )

Returns

string

Implementation of

Affilinet\ProductData\Responses\ResponseElements\PriceInterface::getShippingPricePrefix()
public float
# getShippingPrice( )

Returns

float

Implementation of

Affilinet\ProductData\Responses\ResponseElements\PriceInterface::getShippingPrice()
public string
# getShippingPriceSuffix( )

Returns

string

Implementation of

Affilinet\ProductData\Responses\ResponseElements\PriceInterface::getShippingPriceSuffix()
public string
# getBasePricePrefix( )

Returns

string

Implementation of

Affilinet\ProductData\Responses\ResponseElements\PriceInterface::getBasePricePrefix()
public float
# getBasePrice( )

Returns

float

Implementation of

Affilinet\ProductData\Responses\ResponseElements\PriceInterface::getBasePrice()
public string
# getBasePriceSuffix( )

Returns

string

Implementation of

Affilinet\ProductData\Responses\ResponseElements\PriceInterface::getBasePriceSuffix()
API documentation generated by ApiGen