Marker interface for Payment Workflow subject.
Methods¶
                
getAmount()
            ¶
    
        | 
                     | 
                
                    
                     | 
            
Return values
Money
                
getContext()
            ¶
    
        Returns the payment context.
| 
                     | 
                
                    
                     | 
            
The context is a set of key-value pairs that can be used to store additional information about the payment.
Return values
MapInterface<string, mixed>|null
                
getCreatedAt()
            ¶
    
        Returns the date and time when the payment was created.
| 
                     | 
                
                    
                     | 
            
Return values
DateTimeInterface
                
getId()
            ¶
    
        | 
                     | 
                
                    
                     | 
            
Return values
int
                
getIdentifier()
            ¶
    
        Returns the payment identifier.
| 
                     | 
                
                    
                     | 
            
Identifier is a unique string (typically referring to payment record in 3rd-party system) containing only alphanumeric characters, hyphen, dashes, and underscores. Maximum allowed identifier length is 64 characters.
Return values
string
                
getMethod()
            ¶
    
        Returns the payment method used to process the payment.
| 
                     | 
                
                    
                     | 
            
Return values
                
getOrder()
            ¶
    
        Returns the order associated with payment.
| 
                     | 
                
                    
                     | 
            
Return values
                
getOwner()
            ¶
    
        Returns the user who owns the payment.
| 
                     | 
                
                    
                     | 
            
Return values
User|null
                
getStatus()
            ¶
    
        Returns the payment status.
| 
                     | 
                
                    
                     | 
            
The status is a state identifier in associated workflow definition.
Return values
string
                
getUpdatedAt()
            ¶
    
        Returns the date and time when the payment was last updated.
| 
                     | 
                
                    
                     | 
            
Return values
DateTimeInterface