Ejemplo n.º 1
0
 public static function createRelatedResources()
 {
     $relatedResources = new RelatedResources();
     $relatedResources->setAuthorization(AuthorizationTest::createAuthorization());
     $relatedResources->setCapture(CaptureTest::createCapture());
     return $relatedResources;
 }
Ejemplo n.º 2
0
 public static function createSubTransaction()
 {
     $subTransaction = new SubTransaction();
     $subTransaction->setAuthorization(AuthorizationTest::createAuthorization());
     $subTransaction->setCapture(CaptureTest::createCapture());
     return $subTransaction;
 }