Overview
  • Package
  • Class
  • Tree
  • Todo

Packages

  • AddonValue
    • Interfaces
  • AdminAccess
    • Collections
    • Deleters
    • Entities
    • Exceptions
    • Factories
    • Interfaces
    • Managers
    • Readers
    • Writers
  • AdminHttpViewControllers
  • ApiV2Controllers
  • Authentication
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Strategies
  • Category
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • Customer
    • Address
    • Country
    • CountryZone
    • Interfaces
    • Storages
    • Validation
    • ValueObjects
  • CustomerGroup
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Serializers
    • Services
    • ValueObjects
  • Email
    • Collections
    • Entities
    • Exceptions
    • Interfaces
    • Repository
    • ValueObjects
  • Extensions
    • Customers
    • Emails
    • Geschaeftskundenversand
    • Helpers
    • Invoices
    • Orders
    • ParcelShopFinder
    • QuickEdit
    • Serializers
    • Templates
  • Geschaeftskundenversand
    • Exceptions
  • Http
    • Collections
    • Exceptions
    • Factories
    • Interfaces
    • ValueObjects
  • HttpViewControllers
  • InfoBox
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
  • Invoice
    • Interfaces
    • ValueObjects
  • Loaders
    • CrossCuttingLoader
    • GXCoreLoader
    • Interfaces
  • Manufacturer
    • Entities
    • Factories
    • Interfaces
    • Repositories
  • Modules
    • Collections
    • Controllers
    • Interfaces
  • None
  • Order
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
    • ValueObjects
  • OrderStatus
    • Collections
    • Entities
    • Exceptions
    • Factories
    • Interfaces
    • Repositories
  • Precheck
  • Product
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • ProductModule
    • Collections
    • Deleter
    • Entities
    • Factories
    • Interface
    • Interfaces
    • Reader
    • Repositories
    • Writer
  • QuantityUnit
    • Entities
    • Factories
    • Repositories
  • QuickEdit
    • Interfaces
    • Repositories
  • Review
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Services
    • ValueObjects
  • Shared
    • ClassFinder
    • Exceptions
    • FileSystem
    • Interfaces
    • Storage
    • Types
  • SharedShoppingCart
    • Interfaces
  • Slider
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
  • Smarty
    • plugins
  • StaticSeoUrl
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
  • StaticSeoUrls
  • Statistics
    • Interfaces
  • UserConfiguration
    • Interfaces
    • Repository
  • VersionInfo
    • Factories
    • Reader
    • ValueObjects
  • VPE
    • Entities
    • Factories
    • Repositories
  • Withdrawal
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Services
    • ValueObjects

Classes

  • Withdrawal
  • WithdrawalCollection

Interfaces

  • WithdrawalInterface

Class Withdrawal

Class Withdrawal

Withdrawal implements WithdrawalInterface
Package: Withdrawal\Entities
Category: System
Located at Services/Core/Withdrawal/Entities/Withdrawal.inc.php

Methods summary

public
# __construct( WithdrawalRepositoryInterface $repository )

Withdrawal constructor.

Withdrawal constructor.

Parameters

$repository
public
# store( )

Saves withdrawal in database.

Saves withdrawal in database.

Returns


$this|\WithdrawalInterface Same instance for chained method calls.

Implementation of

WithdrawalInterface::store()
public
# delete( )

Deletes withdrawal from database.

Deletes withdrawal from database.

Returns


$this|\WithdrawalInterface Same instance for chained method calls.

Implementation of

WithdrawalInterface::delete()
public integer
# getWithdrawalId( )

Returns the withdrawal id.

Returns the withdrawal id.

Returns

integer
Withdrawal id.

Implementation of

WithdrawalInterface::getWithdrawalId()
public
# setWithdrawalId( IdType $withdrawalId )

Sets the withdrawal id.

Sets the withdrawal id.

Parameters

$withdrawalId
The withdrawal id to be set.

Returns


$this|\WithdrawalInterface Same instance for chained method calls.

Implementation of

WithdrawalInterface::setWithdrawalId()
public DateTime
# getWithdrawalDate( )

Returns the withdrawal datetime.

Returns the withdrawal datetime.

Returns

DateTime

Implementation of

WithdrawalInterface::getWithdrawalDate()
public
# setWithdrawalDate( DateTime $withdrawalDate )

sets the datetime.

sets the datetime.

Parameters

$withdrawalDate
Date to be set.

Returns


$this|\WithdrawalInterface Same instance for chained method calls.

Implementation of

WithdrawalInterface::setWithdrawalDate()
public string
# getWithdrawalContent( )

Returns the content.

Returns the content.

Returns

string

Implementation of

WithdrawalInterface::getWithdrawalContent()
public
# setWithdrawalContent( StringType $withdrawalContent )

Sets the withdrawal content.

Sets the withdrawal content.

Parameters

$withdrawalContent
Withdrawal content to be set.

Returns


$this|\WithdrawalInterface Same instance for chained method calls.

Implementation of

WithdrawalInterface::setWithdrawalContent()
public DateTime
# getDateCreated( )

Returns the withdrawal created datetime.

Returns the withdrawal created datetime.

Returns

DateTime

Implementation of

WithdrawalInterface::getDateCreated()
public
# setDateCreated( DateTime $dateCreated )

Sets the withdrawal created datetime.

Sets the withdrawal created datetime.

Parameters

$dateCreated
Created date to be set.

Returns


$this|\WithdrawalInterface Same instance for chained method calls.

Implementation of

WithdrawalInterface::setDateCreated()
public boolean
# getCreatedByAdmin( )

Checks if withdrawal by admin created or not.

Checks if withdrawal by admin created or not.

Returns

boolean

Implementation of

WithdrawalInterface::getCreatedByAdmin()
public
# setCreatedByAdmin( BoolType $createdByAdmin )

Sets whether the withdrawal by admin created or not.

Sets whether the withdrawal by admin created or not.

Parameters

$createdByAdmin

Returns


$this|\WithdrawalInterface Same instance for chained method calls.

Implementation of

WithdrawalInterface::setCreatedByAdmin()
public WithdrawalOrderInterface
# getWithdrawalOrder( )

Returns the withdrawal Order.

Returns the withdrawal Order.

Returns

WithdrawalOrderInterface

Implementation of

WithdrawalInterface::getWithdrawalOrder()
public
# setWithdrawalOrder( WithdrawalOrderInterface $withdrawalOrder )

Sets the withdrawal order.

Sets the withdrawal order.

Parameters

$withdrawalOrder

Returns


$this|\WithdrawalInterface Same instance for chained method calls.

Implementation of

WithdrawalInterface::setWithdrawalOrder()

Properties summary

protected integer $withdrawalId
# 0
protected DateTime $withdrawalDate
#
protected string $withdrawalContent
# ''
protected DateTime $withdrawalDateCreated
#
protected boolean $createdByAdmin
# false
protected WithdrawalOrderInterface $withdrawalOrder
#
protected WithdrawalRepositoryInterface $repository
#
API documentation generated by ApiGen