Skip to content

Commit

Permalink
Update Transaction.php
Browse files Browse the repository at this point in the history
  • Loading branch information
remcotolsma committed Nov 8, 2023
1 parent 44caa42 commit 56e188e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Transaction.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,10 @@ public static function from_object( $data ) {
$object_access = new ObjectAccess( $data );

return new self(
$object_access->get_string( 'transactionId' ),
$object_access->get_string( 'id' ),
$object_access->get_string( 'paymentBrand' ),
$object_access->get_string( 'transactionType' ),
$object_access->get_string( 'transactionStatus' )
$object_access->get_string( 'type' ),
$object_access->get_string( 'status' )
);
}
}

0 comments on commit 56e188e

Please sign in to comment.