Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 30 |
|
0.00% |
0 / 20 |
CRAP | |
0.00% |
0 / 1 |
| EbayFinTrait | |
0.00% |
0 / 30 |
|
0.00% |
0 / 20 |
420 | |
0.00% |
0 / 1 |
| getEbayfinamount | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setEbayfinamount | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getEbayfinbookingentry | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setEbayfinbookingentry | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getEbayfinorderid | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setEbayfinorderid | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getEbayfinpaymentsentity | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setEbayfinpaymentsentity | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getEbayfinpayoutid | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setEbayfinpayoutid | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getEbayfinstatus | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setEbayfinstatus | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getEbayfintotalfeeamount | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setEbayfintotalfeeamount | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getEbayfintotalfeebasisamount | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setEbayfintotalfeebasisamount | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getEbayfintransactionid | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setEbayfintransactionid | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getEbayfintyp | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setEbayfintyp | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace Satag\AmicronEntityBundle\Traits; |
| 6 | |
| 7 | use Doctrine\DBAL\Types\Types; |
| 8 | use Doctrine\ORM\Mapping as ORM; |
| 9 | |
| 10 | /** |
| 11 | * Shared eBay Finance fields for entities that store eBay financial transaction data |
| 12 | * (e.g. Kontobuchung, Bankkonto). |
| 13 | * |
| 14 | * Fields: EBAYFINAMOUNT, EBAYFINBOOKINGENTRY, EBAYFINORDERID, EBAYFINPAYMENTSENTITY, |
| 15 | * EBAYFINPAYOUTID, EBAYFINSTATUS, EBAYFINTOTALFEEAMOUNT, EBAYFINTOTALFEEBASISAMOUNT, |
| 16 | * EBAYFINTRANSACTIONID, EBAYFINTYP |
| 17 | * |
| 18 | * @see FR-007 |
| 19 | */ |
| 20 | trait EbayFinTrait |
| 21 | { |
| 22 | #[ORM\Column(name: 'ebayfinamount', type: 'amicron_decimal', precision: 15, scale: 6, nullable: true)] |
| 23 | protected ?string $ebayfinamount = null; |
| 24 | |
| 25 | #[ORM\Column(name: 'ebayfinbookingentry', type: Types::STRING, length: 40, nullable: true)] |
| 26 | protected ?string $ebayfinbookingentry = null; |
| 27 | |
| 28 | #[ORM\Column(name: 'ebayfinorderid', type: Types::STRING, length: 100, nullable: true)] |
| 29 | protected ?string $ebayfinorderid = null; |
| 30 | |
| 31 | #[ORM\Column(name: 'ebayfinpaymentsentity', type: Types::STRING, length: 200, nullable: true)] |
| 32 | protected ?string $ebayfinpaymentsentity = null; |
| 33 | |
| 34 | #[ORM\Column(name: 'ebayfinpayoutid', type: Types::STRING, length: 50, nullable: true)] |
| 35 | protected ?string $ebayfinpayoutid = null; |
| 36 | |
| 37 | #[ORM\Column(name: 'ebayfinstatus', type: Types::STRING, length: 50, nullable: true)] |
| 38 | protected ?string $ebayfinstatus = null; |
| 39 | |
| 40 | #[ORM\Column(name: 'ebayfintotalfeeamount', type: 'amicron_decimal', precision: 15, scale: 6, nullable: true)] |
| 41 | protected ?string $ebayfintotalfeeamount = null; |
| 42 | |
| 43 | #[ORM\Column(name: 'ebayfintotalfeebasisamount', type: 'amicron_decimal', precision: 15, scale: 6, nullable: true)] |
| 44 | protected ?string $ebayfintotalfeebasisamount = null; |
| 45 | |
| 46 | #[ORM\Column(name: 'ebayfintransactionid', type: Types::STRING, length: 100, nullable: true)] |
| 47 | protected ?string $ebayfintransactionid = null; |
| 48 | |
| 49 | #[ORM\Column(name: 'ebayfintyp', type: Types::STRING, length: 50, nullable: true)] |
| 50 | protected ?string $ebayfintyp = null; |
| 51 | |
| 52 | public function getEbayfinamount(): ?string |
| 53 | { |
| 54 | return $this->ebayfinamount; |
| 55 | } |
| 56 | |
| 57 | public function setEbayfinamount(?string $ebayfinamount): static |
| 58 | { |
| 59 | $this->ebayfinamount = $ebayfinamount; |
| 60 | |
| 61 | return $this; |
| 62 | } |
| 63 | |
| 64 | public function getEbayfinbookingentry(): ?string |
| 65 | { |
| 66 | return $this->ebayfinbookingentry; |
| 67 | } |
| 68 | |
| 69 | public function setEbayfinbookingentry(?string $ebayfinbookingentry): static |
| 70 | { |
| 71 | $this->ebayfinbookingentry = $ebayfinbookingentry; |
| 72 | |
| 73 | return $this; |
| 74 | } |
| 75 | |
| 76 | public function getEbayfinorderid(): ?string |
| 77 | { |
| 78 | return $this->ebayfinorderid; |
| 79 | } |
| 80 | |
| 81 | public function setEbayfinorderid(?string $ebayfinorderid): static |
| 82 | { |
| 83 | $this->ebayfinorderid = $ebayfinorderid; |
| 84 | |
| 85 | return $this; |
| 86 | } |
| 87 | |
| 88 | public function getEbayfinpaymentsentity(): ?string |
| 89 | { |
| 90 | return $this->ebayfinpaymentsentity; |
| 91 | } |
| 92 | |
| 93 | public function setEbayfinpaymentsentity(?string $ebayfinpaymentsentity): static |
| 94 | { |
| 95 | $this->ebayfinpaymentsentity = $ebayfinpaymentsentity; |
| 96 | |
| 97 | return $this; |
| 98 | } |
| 99 | |
| 100 | public function getEbayfinpayoutid(): ?string |
| 101 | { |
| 102 | return $this->ebayfinpayoutid; |
| 103 | } |
| 104 | |
| 105 | public function setEbayfinpayoutid(?string $ebayfinpayoutid): static |
| 106 | { |
| 107 | $this->ebayfinpayoutid = $ebayfinpayoutid; |
| 108 | |
| 109 | return $this; |
| 110 | } |
| 111 | |
| 112 | public function getEbayfinstatus(): ?string |
| 113 | { |
| 114 | return $this->ebayfinstatus; |
| 115 | } |
| 116 | |
| 117 | public function setEbayfinstatus(?string $ebayfinstatus): static |
| 118 | { |
| 119 | $this->ebayfinstatus = $ebayfinstatus; |
| 120 | |
| 121 | return $this; |
| 122 | } |
| 123 | |
| 124 | public function getEbayfintotalfeeamount(): ?string |
| 125 | { |
| 126 | return $this->ebayfintotalfeeamount; |
| 127 | } |
| 128 | |
| 129 | public function setEbayfintotalfeeamount(?string $ebayfintotalfeeamount): static |
| 130 | { |
| 131 | $this->ebayfintotalfeeamount = $ebayfintotalfeeamount; |
| 132 | |
| 133 | return $this; |
| 134 | } |
| 135 | |
| 136 | public function getEbayfintotalfeebasisamount(): ?string |
| 137 | { |
| 138 | return $this->ebayfintotalfeebasisamount; |
| 139 | } |
| 140 | |
| 141 | public function setEbayfintotalfeebasisamount(?string $ebayfintotalfeebasisamount): static |
| 142 | { |
| 143 | $this->ebayfintotalfeebasisamount = $ebayfintotalfeebasisamount; |
| 144 | |
| 145 | return $this; |
| 146 | } |
| 147 | |
| 148 | public function getEbayfintransactionid(): ?string |
| 149 | { |
| 150 | return $this->ebayfintransactionid; |
| 151 | } |
| 152 | |
| 153 | public function setEbayfintransactionid(?string $ebayfintransactionid): static |
| 154 | { |
| 155 | $this->ebayfintransactionid = $ebayfintransactionid; |
| 156 | |
| 157 | return $this; |
| 158 | } |
| 159 | |
| 160 | public function getEbayfintyp(): ?string |
| 161 | { |
| 162 | return $this->ebayfintyp; |
| 163 | } |
| 164 | |
| 165 | public function setEbayfintyp(?string $ebayfintyp): static |
| 166 | { |
| 167 | $this->ebayfintyp = $ebayfintyp; |
| 168 | |
| 169 | return $this; |
| 170 | } |
| 171 | } |