Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
getSubscriptionId example
#[Package('checkout')]
class
RecurringDataStructTest
extends
TestCase
{
public
function
testGetters
(
)
: void
{
$time
=
new
\
DateTime
(
)
;
$struct
=
new
RecurringDataStruct
(
'foo',
$time
)
;
static
::
assertSame
(
'foo',
$struct
->
getSubscriptionId
(
)
)
;
static
::
assertSame
(
$time
,
$struct
->
getNextSchedule
(
)
)
;
}
}