Overview

Namespaces

  • Guzzle
    • Batch
      • Exception
    • Cache
    • Common
      • Exception
    • Http
      • Curl
      • Exception
      • Message
        • Header
      • QueryAggregator
    • Inflection
    • Iterator
    • Log
    • Parser
      • Cookie
      • Message
      • UriTemplate
      • Url
    • Plugin
      • Async
      • Backoff
      • Cache
      • Cookie
        • CookieJar
        • Exception
      • CurlAuth
      • ErrorResponse
        • Exception
      • History
      • Log
      • Md5
      • Mock
      • Oauth
    • Service
      • Builder
      • Command
        • Factory
        • LocationVisitor
          • Request
          • Response
      • Description
      • Exception
      • Resource
    • Stream
    • Tests
      • Batch
      • Cache
      • Common
        • Cache
        • Exception
      • Http
        • Curl
        • Exception
        • Message
          • Header
      • Inflection
      • Iterator
      • Log
      • Message
      • Mock
      • Parser
        • Cookie
        • Message
      • Parsers
        • UriTemplate
      • Plugin
        • Async
        • Backoff
        • Cache
        • Cookie
          • CookieJar
        • CurlAuth
        • ErrorResponse
        • History
        • Log
        • Md5
        • Mock
        • Oauth
        • Redirect
      • Service
        • Builder
        • Command
          • LocationVisitor
            • Request
            • Response
        • Description
        • Exception
        • Mock
          • Command
            • Sub
          • Model
        • Resource
      • Stream
  • None
  • Omnipay
    • Common
      • Exception
      • Message
    • Dummy
      • Message
    • VivaPayments
      • Message
  • PHP

Classes

  • AbstractGateway
  • CreditCard
  • Currency
  • GatewayFactory
  • Helper
  • Issuer
  • Item
  • ItemBag
  • PaymentMethod

Interfaces

  • GatewayInterface
  • ItemInterface
  • Overview
  • Namespace
  • Class
  • Tree

Class Item

Cart Item

This class defines a single cart item in the Omnipay system.

Omnipay\Common\Item implements Omnipay\Common\ItemInterface
Namespace: Omnipay\Common
See: Omnipay\Common\ItemInterface
Located at Common/Item.php
Methods summary
public
# __construct( array|null $parameters = null )

Create a new item with the specified parameters

Create a new item with the specified parameters

Parameters

$parameters
An array of parameters to set on the new object
public
# initialize( array|null $parameters = null )

Initialize this item with the specified parameters

Initialize this item with the specified parameters

Parameters

$parameters
An array of parameters to set on this object

Returns


$this Item
public
# getParameters( )
protected
# getParameter( $key )
protected
# setParameter( $key, $value )
public
# getName( )

Name of the item

Name of the item

Implementation of

Omnipay\Common\ItemInterface::getName()
public
# setName( $value )

Set the item name

Set the item name

public
# getDescription( )

Description of the item

Description of the item

Implementation of

Omnipay\Common\ItemInterface::getDescription()
public
# setDescription( $value )

Set the item description

Set the item description

public
# getQuantity( )

Quantity of the item

Quantity of the item

Implementation of

Omnipay\Common\ItemInterface::getQuantity()
public
# setQuantity( $value )

Set the item quantity

Set the item quantity

public
# getPrice( )

Price of the item

Price of the item

Implementation of

Omnipay\Common\ItemInterface::getPrice()
public
# setPrice( $value )

Set the item price

Set the item price

Properties summary
protected Symfony\Component\HttpFoundation\ParameterBag $parameters
#
Omnipay Viva Payments Gateway Module API Documentation API documentation generated by ApiGen