6 if ( isset( $normalized[
'date'] ) ) {
7 $staged_data[
'date'] = date( DateTime::ISO8601, $normalized[
'date'] );
13 if ( isset( $staged_data[
'date'] ) ) {
14 $unstaged_data[
'date'] = strtotime( $staged_data[
'date'] );
stage(GatewayType $adapter, $normalized, &$staged_data)
Transform a subset of normalized data into the "staged" data expected by a payment processor.
unstage(GatewayType $adapter, $staged_data, &$unstaged_data)
Used to mark any class which implements an staging method, for transforming data into the form expect...
Used to mark any class which implements an unstaging method, for transforming data returned by a paym...