File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,14 +24,14 @@ public function setPublicationId(?string $publicationId): void
2424 $ this ->setData ('publicationId ' , $ publicationId );
2525 }
2626
27- public function getCurrentCode (): ?string
27+ public function getCurrencyCode (): ?string
2828 {
29- return $ this ->getData ('currentCode ' );
29+ return $ this ->getData ('currencyCode ' );
3030 }
3131
32- public function setCurrentCode (?string $ currentCode ): void
32+ public function setCurrencyCode (?string $ currencyCode ): void
3333 {
34- $ this ->setData ('currentCode ' , $ currentCode );
34+ $ this ->setData ('currencyCode ' , $ currencyCode );
3535 }
3636
3737 public function getUnitPrice (): ?float
Original file line number Diff line number Diff line change @@ -17,12 +17,12 @@ public function testGettersAndSetters(): void
1717 $ price = new Price ();
1818 $ price ->setPriceId ($ priceId );
1919 $ price ->setPublicationId ($ publicationId );
20- $ price ->setCurrentCode ($ currentCode );
20+ $ price ->setCurrencyCode ($ currentCode );
2121 $ price ->setUnitPrice ($ unitPrice );
2222
2323 $ this ->assertSame ($ priceId , $ price ->getPriceId ());
2424 $ this ->assertSame ($ publicationId , $ price ->getPublicationId ());
25- $ this ->assertSame ($ currentCode , $ price ->getCurrentCode ());
25+ $ this ->assertSame ($ currentCode , $ price ->getCurrencyCode ());
2626 $ this ->assertSame ($ unitPrice , $ price ->getUnitPrice ());
2727 }
2828}
You can’t perform that action at this time.
0 commit comments