File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
lib/Paymill/Models/Request Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -121,6 +121,8 @@ class Checksum extends Base
121121 */
122122 private $ _handling_amount ;
123123
124+ private $ _clientId ;
125+
124126 /**
125127 * Creates an instance of the checksum request model
126128 */
@@ -129,6 +131,18 @@ function __construct()
129131 $ this ->_serviceResource = 'checksums/ ' ;
130132 }
131133
134+ public function setClientId ($ clientId )
135+ {
136+ $ this ->_clientId = $ clientId ;
137+
138+ return $ this ;
139+ }
140+
141+ public function getClientId ()
142+ {
143+ return $ this ->_clientId ;
144+ }
145+
132146 /**
133147 * Set amount
134148 *
@@ -582,6 +596,10 @@ public function parameterize($method)
582596 $ parameterArray ['handling_amount ' ] = $ this ->getHandlingAmount ();
583597 }
584598
599+ if ($ this ->getClientId ()) {
600+ $ parameterArray ['client_id ' ] = $ this ->getClientId ();
601+ }
602+
585603 // Unite params:
586604
587605 if ($ this ->getAppId ()) {
You can’t perform that action at this time.
0 commit comments