Documentation

MovementCredit
in package
implements JsonSerializable

Class MovementCredit

Tags
ORM\Entity

(repositoryClass="Vatjar\Data\Repository\MovementCreditRepository")

ORM\Table

(name="movement_credit")

Table of Contents

Interfaces

JsonSerializable

Properties

$activityId  : int|null
$activityInvoice  : ActivityInvoice|null
$awaitingDelete  : bool|null
$buyerVatCountry  : Country|null
$buyerVatId  : string|null
$changeTime  : DateTime
$channel  : Channel
$client  : Client|null
$currency  : Currency|null
$digitalService  : bool
$discount  : float|null
$eventDate  : DateTime
$eventTime  : DateTime
$exportOutsideEu  : bool|null
$fromBillCountry  : Country|null
$fromCountry  : Country|null
$fromVatidValidationStatusId  : int|null
$id  : int|null
$invoiceNumberId  : int|null
$invoiceNumberString  : string|null
$isCreditNote  : bool|null
$isInvoice  : bool|null
$linkedMovementCredit  : MovementCredit|null
$linkedMovementCreditId  : int|null
$module  : Module
$movementPerspectiveId  : int
$movementTypeId  : int
$position  : int|null
$preventScenario  : bool|null
$price  : float|null
$product  : MovementProduct|null
$productId  : int|null
$quantity  : int|null
$salesChannel  : string|null
$sellerVatCountry  : Country|null
$sellerVatId  : string|null
$shipPrice  : float|null
$sourceId  : int
$sourceType  : SourceType
$statusCode  : int|null
$statusCorrection  : MovementStatusCorrection|null
$toBillCountry  : Country|null
$toCountry  : Country|null
$toVatidValidationStatusId  : int|null
$transId  : string
$userModule  : UserModule
$valueEur  : float|null
$vatCountry  : Country|null
$vatRate  : float|null

Methods

getActivityId()  : int|null
getActivityInvoice()  : ActivityInvoice|null
Get the value of activityInvoice
getActivityInvoiceId()  : int|null
getAwaitingDelete()  : bool|null
getBuyerVatCountry()  : Country|null
getBuyerVatCountryId()  : int|null
getBuyerVatId()  : string|null
getChangeTime()  : DateTime
getChannel()  : Channel
Get the value of channel
getChannelId()  : int
getClient()  : Client|null
Get $client
getClientId()  : int
getCurrency()  : Currency|null
getCurrencyId()  : int|null
getDiscount()  : float|null
getEventDate()  : DateTime
getEventTime()  : DateTime
getExportOutsideEu()  : bool|null
Get the value of exportOutsideEu
getFromBillCountry()  : Country|null
getFromBillCountryId()  : int|null
getFromCountry()  : Country|null
getFromCountryId()  : int|null
getFromVatidValidationStatusId()  : int|null
getId()  : int|null
getInvoiceNumberId()  : int|null
getInvoiceNumberString()  : mixed
getIsCreditNote()  : bool|null
getLinkedMovementCredit()  : MovementCredit|null
getLinkedMovementCreditId()  : int|null
getModule()  : Module
Get the value of module
getMovementPerspectiveId()  : int
Get $movementPerspectiveId
getMovementTypeId()  : int
Get the value of movementTypeId
getPosition()  : int|null
getPreventScenario()  : bool|null
getPrice()  : float|null
getProductId()  : int|null
getQuantity()  : int|null
getSalesChannel()  : string|null
getSellerVatCountry()  : Country|null
getSellerVatCountryId()  : int|null
getSellerVatId()  : string|null
getShipPrice()  : float|null
getSourceId()  : int|null
getSourceType()  : SourceType
Get $sourceType
getSourceTypeId()  : int
getStatusCode()  : int|null
getStatusCorrection()  : MovementStatusCorrection|null
getToBillCountry()  : Country|null
getToBillCountryId()  : int|null
getToCountry()  : Country|null
getToCountryId()  : int|null
getToVatidValidationStatusId()  : int|null
getTransId()  : string
Get the value of transId
getUser()  : Client|null
getUserId()  : int|null
getUserModule()  : UserModule
getValueEur()  : float|null
getVatCountry()  : Country|null
getVatCountryId()  : int|null
getVatRate()  : float|null
isDigitalService()  : bool
isInvoice()  : bool|null
jsonSerialize()  : mixed
Specify data which should be serialized to JSON
setActivityId()  : void
setActivityInvoice()  : self
Set the value of activityInvoice
setAwaitingDelete()  : void
setBuyerVatCountry()  : void
setBuyerVatId()  : void
setChangeTime()  : void
setChannel()  : self
Set the value of channel
setClient()  : self
Set $client
setCurrency()  : void
setDigitalService()  : void
setDiscount()  : void
setEventDate()  : void
setEventTime()  : void
setExportOutsideEu()  : self
Set the value of exportOutsideEu
setFromBillCountry()  : void
setFromCountry()  : void
setFromVatidValidationStatusId()  : void
setId()  : void
setInvoiceNumberId()  : void
setInvoiceNumberString()  : void
setIsCreditNote()  : void
setIsInvoice()  : void
setLinkedMovementCredit()  : void
setLinkedMovementCreditId()  : void
setModule()  : self
Set the value of module
setMovementPerspectiveId()  : self
Set $movementPerspectiveId
setMovementTypeId()  : self
Set the value of movementTypeId
setPosition()  : void
setPreventScenario()  : void
setPrice()  : void
setProductId()  : void
setQuantity()  : void
setSalesChannel()  : void
setSellerVatCountry()  : void
setSellerVatId()  : void
setShipPrice()  : void
setSourceId()  : void
setSourceType()  : self
Set $sourceType
setStatusCode()  : void
setStatusCorrection()  : void
setToBillCountry()  : void
setToCountry()  : void
setToVatidValidationStatusId()  : void
setTransId()  : self
Set the value of transId
setUser()  : self
setUserModule()  : void
setValueEur()  : void
setVatCountry()  : void
setVatRate()  : void

Properties

$activityId

private int|null $activityId
Tags
ORM\Column

(type="integer", name="activity_id", nullable=true)

$activityInvoice

private ActivityInvoice|null $activityInvoice
Tags
ORM\ManyToOne

(targetEntity="ActivityInvoice")

ORM\JoinColumn

(name="activity_invoice_id", referencedColumnName="id")

$awaitingDelete

private bool|null $awaitingDelete
Tags
ORM\Column

(type="boolean", name="awaiting_delete")

$buyerVatCountry

private Country|null $buyerVatCountry
Tags
MaxDepth

(1)

ORM\ManyToOne

(targetEntity="Country")

ORM\JoinColumn

(name="buyer_vat_country_id", referencedColumnName="id")

$buyerVatId

private string|null $buyerVatId
Tags
ORM\Column

(type="string", name="buyer_vatid", nullable=true)

$changeTime

private DateTime $changeTime
Tags
ORM\Column

(type="datetime", name="change_time")

$channel

private Channel $channel
Tags
ORM\ManyToOne

(targetEntity="Channel")

ORM\JoinColumn

(name="channel_id", referencedColumnName="id")

$client

private Client|null $client
Tags
ORM\ManyToOne

(targetEntity="Client", inversedBy="movementCredits")

ORM\JoinColumn

(name="user_id", referencedColumnName="id")

$currency

private Currency|null $currency
Tags
MaxDepth

(1)

ORM\ManyToOne

(targetEntity="Currency")

ORM\JoinColumn

(name="currency_id", referencedColumnName="id")

$digitalService

private bool $digitalService = false
Tags
ORM\Column

(type="boolean", name="digital_service", options={"default": false})

$discount

private float|null $discount
Tags
ORM\Column

(type="float", name="discount", nullable=true)

$eventDate

private DateTime $eventDate
Tags
ORM\Column

(type="date", name="event_date")

$eventTime

private DateTime $eventTime
Tags
ORM\Column

(type="time", name="event_time")

$exportOutsideEu

private bool|null $exportOutsideEu
Tags
ORM\Column

(name="export_outside_eu", type="boolean", nullable=true)

$fromBillCountry

private Country|null $fromBillCountry
Tags
MaxDepth

(1)

ORM\ManyToOne

(targetEntity="Country")

ORM\JoinColumn

(name="from_bill_country_id", referencedColumnName="id")

$fromCountry

private Country|null $fromCountry
Tags
MaxDepth

(1)

ORM\ManyToOne

(targetEntity="Country")

ORM\JoinColumn

(name="from_country_id", referencedColumnName="id")

$fromVatidValidationStatusId

private int|null $fromVatidValidationStatusId
Tags
ORM\Column

(type="integer", name="from_vatid_validation_status_id", nullable=true)

$id

private int|null $id
Tags
ORM\Id

()

ORM\GeneratedValue

()

ORM\Column

(type="bigint")

$invoiceNumberId

private int|null $invoiceNumberId
Tags
ORM\Column

(type="integer", name="invoice_number_id")

$invoiceNumberString

private string|null $invoiceNumberString
Tags
ORM\Column

(type="string", name="invoice_string")

$isCreditNote

private bool|null $isCreditNote
Tags
ORM\Column

(type="boolean", name="credit_note")

$isInvoice

private bool|null $isInvoice
Tags
ORM\Column

(type="boolean", name="is_invoice")

$linkedMovementCreditId

private int|null $linkedMovementCreditId
Tags
ORM\Column

(type="integer", name="linked_movement_credit_id")

$module

private Module $module
Tags
ORM\ManyToOne

(targetEntity="Module")

ORM\JoinColumn

(name="module_id", referencedColumnName="id")

$movementPerspectiveId

private int $movementPerspectiveId
Tags
ORM\Column

(type="integer", name="movement_perspective_id")

$movementTypeId

private int $movementTypeId
Tags
ORM\Column

(type="integer", name="movement_type_id")

$position

private int|null $position
Tags
ORM\Column

(type="integer", name="position")

$preventScenario

private bool|null $preventScenario
Tags
ORM\Column

(type="integer", name="prevent_scenario")

$price

private float|null $price
Tags
ORM\Column

(type="float", name="price", nullable=true)

$productId

private int|null $productId
Tags
ORM\Column

(type="integer", name="product_id", nullable=true)

$quantity

private int|null $quantity
Tags
ORM\Column

(type="integer", name="quantity")

$salesChannel

private string|null $salesChannel
Tags
ORM\Column

(type="string", name="sales_channel")

$sellerVatCountry

private Country|null $sellerVatCountry
Tags
MaxDepth

(1)

ORM\ManyToOne

(targetEntity="Country")

ORM\JoinColumn

(name="seller_vat_country_id", referencedColumnName="id")

$sellerVatId

private string|null $sellerVatId
Tags
ORM\Column

(type="string", name="seller_vatid", nullable=true)

$shipPrice

private float|null $shipPrice
Tags
ORM\Column

(type="float", name="ship", nullable=true)

$sourceId

private int $sourceId
Tags
ORM\Column

(type="integer", name="source_id")

$sourceType

private SourceType $sourceType
Tags
ORM\ManyToOne

(targetEntity="SourceType")

ORM\JoinColumn

(name="source_type", referencedColumnName="type")

$statusCode

private int|null $statusCode
Tags
ORM\Column

(type="integer", name="status_code", nullable=true)

$statusCorrection

private MovementStatusCorrection|null $statusCorrection
Tags
ORM\ManyToOne

(targetEntity="MovementStatusCorrection")

ORM\JoinColumn

(name="status_correction", referencedColumnName="id", nullable=true)

$toBillCountry

private Country|null $toBillCountry
Tags
MaxDepth

(1)

ORM\ManyToOne

(targetEntity="Country")

ORM\JoinColumn

(name="to_bill_country_id", referencedColumnName="id")

$toCountry

private Country|null $toCountry
Tags
MaxDepth

(1)

ORM\ManyToOne

(targetEntity="Country")

ORM\JoinColumn

(name="to_country_id", referencedColumnName="id")

$toVatidValidationStatusId

private int|null $toVatidValidationStatusId
Tags
ORM\Column

(type="integer", name="to_vatid_validation_status_id", nullable=true)

$transId

private string $transId
Tags
ORM\Column

(type="string", name="transid")

$userModule

private UserModule $userModule
Tags
ORM\ManyToOne

(targetEntity="UserModule", inversedBy="movementCredits")

ORM\JoinColumn

(name="user_module_id", referencedColumnName="id")

$valueEur

private float|null $valueEur
Tags
ORM\Column

(type="float", name="value_eur", nullable=true)

$vatCountry

private Country|null $vatCountry
Tags
MaxDepth

(1)

ORM\ManyToOne

(targetEntity="Country")

ORM\JoinColumn

(name="vat_country_id", referencedColumnName="id")

$vatRate

private float|null $vatRate
Tags
ORM\Column

(type="float", name="vatrate", nullable=true)

Methods

getActivityId()

public getActivityId() : int|null
Return values
int|null

getActivityInvoiceId()

public getActivityInvoiceId() : int|null
Return values
int|null

getAwaitingDelete()

public getAwaitingDelete() : bool|null
Return values
bool|null

getBuyerVatCountryId()

public getBuyerVatCountryId() : int|null
Return values
int|null

getBuyerVatId()

public getBuyerVatId() : string|null
Return values
string|null

getChangeTime()

public getChangeTime() : DateTime
Return values
DateTime

getCurrencyId()

public getCurrencyId() : int|null
Return values
int|null

getDiscount()

public getDiscount() : float|null
Return values
float|null

getEventDate()

public getEventDate() : DateTime
Return values
DateTime

getEventTime()

public getEventTime() : DateTime
Return values
DateTime

getExportOutsideEu()

Get the value of exportOutsideEu

public getExportOutsideEu() : bool|null
Return values
bool|null

getFromBillCountryId()

public getFromBillCountryId() : int|null
Return values
int|null

getFromCountryId()

public getFromCountryId() : int|null
Return values
int|null

getFromVatidValidationStatusId()

public getFromVatidValidationStatusId() : int|null
Return values
int|null

getInvoiceNumberId()

public getInvoiceNumberId() : int|null
Return values
int|null

getInvoiceNumberString()

public getInvoiceNumberString() : mixed

getIsCreditNote()

public getIsCreditNote() : bool|null
Return values
bool|null

getLinkedMovementCreditId()

public getLinkedMovementCreditId() : int|null
Return values
int|null

getMovementPerspectiveId()

Get $movementPerspectiveId

public getMovementPerspectiveId() : int
Return values
int

getMovementTypeId()

Get the value of movementTypeId

public getMovementTypeId() : int
Return values
int

getPosition()

public getPosition() : int|null
Return values
int|null

getPreventScenario()

public getPreventScenario() : bool|null
Return values
bool|null

getPrice()

public getPrice() : float|null
Return values
float|null

getProductId()

public getProductId() : int|null
Return values
int|null

getQuantity()

public getQuantity() : int|null
Return values
int|null

getSalesChannel()

public getSalesChannel() : string|null
Return values
string|null

getSellerVatCountryId()

public getSellerVatCountryId() : int|null
Return values
int|null

getSellerVatId()

public getSellerVatId() : string|null
Return values
string|null

getShipPrice()

public getShipPrice() : float|null
Return values
float|null

getSourceId()

public getSourceId() : int|null
Return values
int|null

getSourceTypeId()

public getSourceTypeId() : int
Return values
int

getStatusCode()

public getStatusCode() : int|null
Return values
int|null

getToBillCountryId()

public getToBillCountryId() : int|null
Return values
int|null

getToCountryId()

public getToCountryId() : int|null
Return values
int|null

getToVatidValidationStatusId()

public getToVatidValidationStatusId() : int|null
Return values
int|null

getTransId()

Get the value of transId

public getTransId() : string
Return values
string

getUserId()

public getUserId() : int|null
Return values
int|null

getValueEur()

public getValueEur() : float|null
Return values
float|null

getVatCountryId()

public getVatCountryId() : int|null
Return values
int|null

getVatRate()

public getVatRate() : float|null
Return values
float|null

isDigitalService()

public isDigitalService() : bool
Return values
bool

isInvoice()

public isInvoice() : bool|null
Return values
bool|null

setActivityId()

public setActivityId(int|null $activityId) : void
Parameters
$activityId : int|null

setAwaitingDelete()

public setAwaitingDelete(bool|null $awaitingDelete) : void
Parameters
$awaitingDelete : bool|null

setBuyerVatId()

public setBuyerVatId(string|null $buyerVatId) : void
Parameters
$buyerVatId : string|null

setChangeTime()

public setChangeTime(DateTime $changeTime) : void
Parameters
$changeTime : DateTime

setClient()

Set $client

public setClient(Client|null $client) : self
Parameters
$client : Client|null

$client

Return values
self

setDigitalService()

public setDigitalService(bool $digitalService) : void
Parameters
$digitalService : bool

setDiscount()

public setDiscount(float|null $discount) : void
Parameters
$discount : float|null

setEventDate()

public setEventDate(DateTime $eventDate) : void
Parameters
$eventDate : DateTime

setEventTime()

public setEventTime(DateTime $eventTime) : void
Parameters
$eventTime : DateTime

setExportOutsideEu()

Set the value of exportOutsideEu

public setExportOutsideEu(bool|null $exportOutsideEu) : self
Parameters
$exportOutsideEu : bool|null
Return values
self

setFromVatidValidationStatusId()

public setFromVatidValidationStatusId(int|null $fromVatidValidationStatusId) : void
Parameters
$fromVatidValidationStatusId : int|null

setId()

public setId(int|null $id) : void
Parameters
$id : int|null

setInvoiceNumberId()

public setInvoiceNumberId(int|null $invoiceNumberId) : void
Parameters
$invoiceNumberId : int|null

setInvoiceNumberString()

public setInvoiceNumberString(mixed $invoiceNumberString) : void
Parameters
$invoiceNumberString : mixed

setIsCreditNote()

public setIsCreditNote(bool|null $creditNote) : void
Parameters
$creditNote : bool|null

setIsInvoice()

public setIsInvoice(bool|null $isInvoice) : void
Parameters
$isInvoice : bool|null

setLinkedMovementCreditId()

public setLinkedMovementCreditId(int|null $linkedMovementCreditId) : void
Parameters
$linkedMovementCreditId : int|null

setModule()

Set the value of module

public setModule(Module $module) : self
Parameters
$module : Module
Return values
self

setMovementPerspectiveId()

Set $movementPerspectiveId

public setMovementPerspectiveId(int $movementPerspectiveId) : self
Parameters
$movementPerspectiveId : int

$movementPerspectiveId

Return values
self

setMovementTypeId()

Set the value of movementTypeId

public setMovementTypeId(int $movementTypeId) : self
Parameters
$movementTypeId : int
Return values
self

setPosition()

public setPosition(int|null $position) : void
Parameters
$position : int|null

setPreventScenario()

public setPreventScenario(bool|null $preventScenario) : void
Parameters
$preventScenario : bool|null

setPrice()

public setPrice(float|null $price) : void
Parameters
$price : float|null

setProductId()

public setProductId(int|null $productId) : void
Parameters
$productId : int|null

setQuantity()

public setQuantity(int|null $quantity) : void
Parameters
$quantity : int|null

setSalesChannel()

public setSalesChannel(string|null $salesChannel) : void
Parameters
$salesChannel : string|null

setSellerVatCountry()

public setSellerVatCountry(Country|null $sellerVatCountry) : void
Parameters
$sellerVatCountry : Country|null

setSellerVatId()

public setSellerVatId(string|null $sellerVatId) : void
Parameters
$sellerVatId : string|null

setShipPrice()

public setShipPrice(float|null $shipPrice) : void
Parameters
$shipPrice : float|null

setSourceId()

public setSourceId(int|null $sourceId) : void
Parameters
$sourceId : int|null

setStatusCode()

public setStatusCode(int|null $statusCode) : void
Parameters
$statusCode : int|null

setToVatidValidationStatusId()

public setToVatidValidationStatusId(int|null $toVatidValidationStatusId) : void
Parameters
$toVatidValidationStatusId : int|null

setTransId()

Set the value of transId

public setTransId(string $transId) : self
Parameters
$transId : string
Return values
self

setValueEur()

public setValueEur(float|null $valueEur) : void
Parameters
$valueEur : float|null

setVatRate()

public setVatRate(float|null $vatRate) : void
Parameters
$vatRate : float|null

        
On this page

Search results