4343 * denyReason: null|DenyReason|value-of<DenyReason>,
4444 * deviceChannel: DeviceChannel|DeviceChannelShape,
4545 * directoryServerTransactionID: string,
46- * merchantAcceptorID: string,
47- * merchantCategoryCode: string,
48- * merchantCountry: string,
49- * merchantName: string,
46+ * merchantAcceptorID: string|null ,
47+ * merchantCategoryCode: string|null ,
48+ * merchantCountry: string|null ,
49+ * merchantName: string|null ,
5050 * priorCardAuthenticationID: string|null,
5151 * purchaseAmount: int|null,
5252 * purchaseAmountCardholderEstimated: int|null,
@@ -198,25 +198,25 @@ enum: Category::class,
198198 * The merchant identifier (commonly abbreviated as MID) of the merchant the card is transacting with.
199199 */
200200 #[Required('merchant_acceptor_id ' )]
201- public string $ merchantAcceptorID ;
201+ public ? string $ merchantAcceptorID ;
202202
203203 /**
204204 * The Merchant Category Code (commonly abbreviated as MCC) of the merchant the card is transacting with.
205205 */
206206 #[Required('merchant_category_code ' )]
207- public string $ merchantCategoryCode ;
207+ public ? string $ merchantCategoryCode ;
208208
209209 /**
210210 * The country the merchant resides in.
211211 */
212212 #[Required('merchant_country ' )]
213- public string $ merchantCountry ;
213+ public ? string $ merchantCountry ;
214214
215215 /**
216216 * The name of the merchant.
217217 */
218218 #[Required('merchant_name ' )]
219- public string $ merchantName ;
219+ public ? string $ merchantName ;
220220
221221 /**
222222 * The ID of a prior Card Authentication that the requestor used to authenticate this cardholder for a previous transaction.
@@ -495,10 +495,10 @@ public static function with(
495495 DenyReason |string |null $ denyReason ,
496496 DeviceChannel |array $ deviceChannel ,
497497 string $ directoryServerTransactionID ,
498- string $ merchantAcceptorID ,
499- string $ merchantCategoryCode ,
500- string $ merchantCountry ,
501- string $ merchantName ,
498+ ? string $ merchantAcceptorID ,
499+ ? string $ merchantCategoryCode ,
500+ ? string $ merchantCountry ,
501+ ? string $ merchantName ,
502502 ?string $ priorCardAuthenticationID ,
503503 ?int $ purchaseAmount ,
504504 ?int $ purchaseAmountCardholderEstimated ,
@@ -794,7 +794,7 @@ public function withDirectoryServerTransactionID(
794794 /**
795795 * The merchant identifier (commonly abbreviated as MID) of the merchant the card is transacting with.
796796 */
797- public function withMerchantAcceptorID (string $ merchantAcceptorID ): self
797+ public function withMerchantAcceptorID (? string $ merchantAcceptorID ): self
798798 {
799799 $ self = clone $ this ;
800800 $ self ['merchantAcceptorID ' ] = $ merchantAcceptorID ;
@@ -805,8 +805,9 @@ public function withMerchantAcceptorID(string $merchantAcceptorID): self
805805 /**
806806 * The Merchant Category Code (commonly abbreviated as MCC) of the merchant the card is transacting with.
807807 */
808- public function withMerchantCategoryCode (string $ merchantCategoryCode ): self
809- {
808+ public function withMerchantCategoryCode (
809+ ?string $ merchantCategoryCode
810+ ): self {
810811 $ self = clone $ this ;
811812 $ self ['merchantCategoryCode ' ] = $ merchantCategoryCode ;
812813
@@ -816,7 +817,7 @@ public function withMerchantCategoryCode(string $merchantCategoryCode): self
816817 /**
817818 * The country the merchant resides in.
818819 */
819- public function withMerchantCountry (string $ merchantCountry ): self
820+ public function withMerchantCountry (? string $ merchantCountry ): self
820821 {
821822 $ self = clone $ this ;
822823 $ self ['merchantCountry ' ] = $ merchantCountry ;
@@ -827,7 +828,7 @@ public function withMerchantCountry(string $merchantCountry): self
827828 /**
828829 * The name of the merchant.
829830 */
830- public function withMerchantName (string $ merchantName ): self
831+ public function withMerchantName (? string $ merchantName ): self
831832 {
832833 $ self = clone $ this ;
833834 $ self ['merchantName ' ] = $ merchantName ;
0 commit comments